
    *{box-sizing:border-box}
    :root{
      --green:#0c513f;
      --green-dark:#06382d;
      --green-soft:#eaf3ef;
      --gold:#bd9852;
      --gold-soft:#ead8b6;
      --cream:#fbf7ed;
      --paper:#fffdf8;
      --text:#16231f;
      --muted:#65746f;
      --line:rgba(12,81,63,.14);
      --shadow:0 22px 70px rgba(6,56,45,.13);
    }
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:Tahoma,Arial,sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at 8% 12%,rgba(189,152,82,.14),transparent 28%),
        radial-gradient(circle at 88% 18%,rgba(12,81,63,.08),transparent 32%),
        linear-gradient(180deg,var(--cream),#fff 78%);
    }
    body.en{direction:ltr;font-family:Arial,Helvetica,sans-serif}
    a{text-decoration:none;color:inherit}
    .wrap{width:min(1160px,calc(100% - 44px));margin:auto}

    .site-header{
      position:sticky;
      top:0;
      z-index:50;
      background:
        radial-gradient(circle at 88% 28%,rgba(234,216,182,.12),transparent 26%),
        linear-gradient(135deg,#0b513f,#06382d);
      backdrop-filter:blur(16px);
      border-bottom:1px solid rgba(234,216,182,.28);
      box-shadow:0 10px 30px rgba(6,56,45,.14);
    }
    .top{
      min-height:104px;
      display:flex;
      align-items:center;
      gap:30px;
      direction:rtl;
      padding:10px 0;
    }
    .brand{
      order:1;
      display:flex;
      align-items:center;
      gap:12px;
      min-width:max-content;
    }
    .brand img{
      width:72px;
      height:72px;
      border-radius:50%;
      object-fit:cover;
      background:#fff;
      border:2px solid rgba(234,216,182,.85);
      box-shadow:0 12px 30px rgba(0,0,0,.18);
      padding:3px;
    }
    .brand strong{
      display:block;
      color:#fff;
      font-size:20px;
      line-height:1.15;
      direction:ltr;
      text-align:left;
      letter-spacing:.1px;
    }
    .brand span{
      display:block;
      margin-top:6px;
      color:rgba(255,255,255,.76);
      font-size:12px;
      text-align:right;
    }
    nav{
      order:2;
      display:flex;
      align-items:center;
      gap:20px;
      color:rgba(255,255,255,.88);
      font-size:14px;
      white-space:nowrap;
    }
    nav a{padding:8px 2px}
    nav a:hover{color:var(--gold-soft)}
    .nav-cta{
      padding:11px 19px!important;
      border-radius:999px;
      border:1px solid rgba(234,216,182,.78);
      color:#fff;
      background:rgba(234,216,182,.12);
      font-weight:800;
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
    }
    .lang{
      order:3;
      margin-right:auto;
      border:1px solid rgba(234,216,182,.72);
      background:rgba(255,255,255,.96);
      color:var(--green-dark);
      border-radius:999px;
      padding:10px 14px;
      font-weight:900;
      cursor:pointer;
      box-shadow:0 8px 22px rgba(0,0,0,.10);
    }
    body.en .top{direction:ltr}
    body.en .brand{order:1}
    body.en nav{order:2}
    body.en .lang{order:3;margin-left:auto;margin-right:0}

    .hero{
      position:relative;
      overflow:hidden;
      padding:54px 0 64px;
    }
    .hero:before{
      content:"";
      position:absolute;
      inset:0;
      background:url('../images/logo.png') no-repeat left 9% center;
      background-size:min(420px,34vw);
      opacity:.045;
      filter:grayscale(.1);
      pointer-events:none;
    }
    body.en .hero:before{
      background-position:right 9% center;
    }
    .grid{
      position:relative;
      z-index:2;
      min-height:calc(100vh - 180px);
      display:grid;
      grid-template-columns:1.08fr .92fr;
      gap:58px;
      align-items:center;
    }
    .content{order:1}
    .visual{order:2}

    .kicker{
      display:flex;
      align-items:center;
      gap:12px;
      margin:0 0 16px;
      color:var(--green);
      font-weight:900;
      font-size:15px;
    }
    .kicker:after{
      content:"";
      width:42px;
      height:2px;
      border-radius:999px;
      background:var(--gold);
    }
    body.en .kicker:after{display:none}
    body.en .kicker:before{
      content:"";
      width:42px;
      height:2px;
      border-radius:999px;
      background:var(--gold);
    }

    h1{
      margin:0;
      max-width:720px;
      color:var(--green-dark);
      font-size:clamp(27px,2.75vw,40px);
      line-height:1.62;
      letter-spacing:-.35px;
      font-weight:900;
    }
    .lead{
      margin:20px 0 0;
      max-width:700px;
      color:#465953;
      font-size:16.5px;
      line-height:2.05;
    }
    body.en .lead{line-height:1.78}

    .actions{
      margin-top:28px;
      display:flex;
      flex-wrap:wrap;
      gap:13px;
    }
    .btn{
      min-height:48px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:0 24px;
      border-radius:999px;
      font-weight:900;
      transition:.2s ease;
    }
    .btn:hover{transform:translateY(-2px)}
    .primary{
      background:linear-gradient(135deg,var(--green),var(--green-dark));
      color:white;
      box-shadow:0 15px 32px rgba(12,81,63,.23);
    }
    .secondary{
      background:rgba(255,255,255,.76);
      border:1px solid rgba(189,152,82,.82);
      color:var(--green-dark);
    }
    .tagline{
      display:inline-flex;
      margin-top:24px;
      padding:10px 16px;
      border-inline-start:3px solid var(--gold);
      background:rgba(255,255,255,.58);
      color:var(--green-dark);
      font-weight:900;
      border-radius:14px;
      font-size:15px;
    }

    .professional-card{
      position:relative;
      border-radius:32px;
      padding:28px;
      background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(251,247,237,.78));
      border:1px solid rgba(189,152,82,.34);
      box-shadow:var(--shadow);
      overflow:hidden;
    }
    .professional-card:before{
      content:"";
      position:absolute;
      width:260px;
      height:260px;
      border-radius:50%;
      background:rgba(12,81,63,.07);
      left:-96px;
      bottom:-112px;
    }
    body.en .professional-card:before{left:auto;right:-96px}

    .logo-badge{
      position:absolute;
      top:22px;
      left:22px;
      z-index:3;
      width:92px;
      height:92px;
      border-radius:26px;
      background:white;
      border:1px solid rgba(189,152,82,.34);
      display:grid;
      place-items:center;
      box-shadow:0 18px 42px rgba(6,56,45,.12);
    }
    body.en .logo-badge{left:auto;right:22px}
    .logo-badge img{
      width:72px;
      height:72px;
      object-fit:contain;
      border-radius:18px;
    }

    .panel-title{
      position:relative;
      z-index:2;
      padding-left:118px;
      margin-bottom:24px;
      min-height:94px;
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    body.en .panel-title{padding-left:0;padding-right:118px}
    .panel-title span{
      color:var(--gold);
      font-weight:900;
      font-size:13px;
      letter-spacing:.8px;
      direction:ltr;
    }
    .panel-title strong{
      display:block;
      margin-top:8px;
      color:var(--green-dark);
      font-size:25px;
      line-height:1.45;
    }

    .feature-grid{
      position:relative;
      z-index:2;
      display:grid;
      grid-template-columns:1fr;
      gap:13px;
    }
    .feature{
      display:grid;
      grid-template-columns:auto 1fr;
      gap:14px;
      align-items:start;
      padding:17px;
      border-radius:22px;
      background:rgba(255,255,255,.72);
      border:1px solid var(--line);
    }
    .icon{
      width:42px;
      height:42px;
      border-radius:15px;
      display:grid;
      place-items:center;
      background:linear-gradient(135deg,var(--green-soft),#fff);
      border:1px solid rgba(12,81,63,.1);
      color:var(--green);
      font-weight:900;
      direction:ltr;
    }
    .feature h3{
      margin:0;
      color:var(--green-dark);
      font-size:16px;
    }
    .feature p{
      margin:7px 0 0;
      color:var(--muted);
      line-height:1.7;
      font-size:13px;
    }

    .trust{
      position:relative;
      z-index:2;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
      margin-top:14px;
    }
    .trust div{
      border:1px solid rgba(189,152,82,.34);
      background:rgba(255,255,255,.74);
      border-radius:18px;
      padding:15px;
      text-align:center;
    }
    .trust strong{
      display:block;
      color:var(--green);
      font-size:24px;
      direction:ltr;
    }
    .trust span{
      display:block;
      color:var(--muted);
      font-size:12px;
      margin-top:3px;
    }

    /* About section */
    .about{
      padding:72px 0 86px;
      background:
        linear-gradient(180deg,rgba(255,255,255,.55),rgba(251,247,237,.72));
      border-top:1px solid rgba(12,81,63,.09);
    }
    .about-grid{
      display:grid;
      grid-template-columns:.92fr 1.08fr;
      gap:48px;
      align-items:start;
    }
    .section-label{
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--gold);
      font-weight:900;
      letter-spacing:.4px;
      margin-bottom:14px;
    }
    .section-label:before{
      content:"";
      width:34px;
      height:2px;
      background:var(--green);
      border-radius:999px;
    }
    .about h2{
      margin:0;
      color:var(--green-dark);
      font-size:clamp(26px,2.5vw,36px);
      line-height:1.55;
      font-weight:900;
    }
    .about-text{
      margin:0;
      color:#465953;
      font-size:16.5px;
      line-height:2.15;
    }
    body.en .about-text{line-height:1.85}
    .about-text + .about-text{margin-top:16px}
    .principles{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:14px;
      margin-top:26px;
    }
    .principle{
      background:rgba(255,255,255,.76);
      border:1px solid rgba(12,81,63,.12);
      border-radius:22px;
      padding:18px;
      box-shadow:0 12px 30px rgba(6,56,45,.06);
    }
    .principle strong{
      display:block;
      color:var(--green-dark);
      font-size:15px;
      margin-bottom:8px;
    }
    .principle span{
      display:block;
      color:var(--muted);
      line-height:1.75;
      font-size:13px;
    }
    .about-card{
      position:sticky;
      top:104px;
      background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(251,247,237,.78));
      border:1px solid rgba(189,152,82,.34);
      border-radius:28px;
      padding:28px;
      box-shadow:var(--shadow);
    }
    .about-card img{
      width:76px;
      height:76px;
      object-fit:contain;
      border-radius:22px;
      background:white;
      border:1px solid rgba(189,152,82,.35);
      padding:6px;
      display:block;
      margin-bottom:18px;
    }
    .about-card h3{
      margin:0;
      color:var(--green-dark);
      font-size:22px;
      line-height:1.45;
    }
    .about-card p{
      color:var(--muted);
      line-height:1.85;
      margin:14px 0 0;
      font-size:14px;
    }
    .about-stats{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
      margin-top:20px;
    }
    .about-stats div{
      border-radius:18px;
      border:1px solid var(--line);
      background:rgba(255,255,255,.62);
      padding:14px;
      text-align:center;
    }
    .about-stats strong{
      display:block;
      color:var(--green);
      font-size:22px;
      direction:ltr;
    }
    .about-stats span{
      display:block;
      margin-top:4px;
      color:var(--muted);
      font-size:12px;
    }


    /* Services section */
    .services{
      padding:76px 0 88px;
      background:
        radial-gradient(circle at 12% 18%,rgba(189,152,82,.10),transparent 28%),
        linear-gradient(180deg,#fff,rgba(251,247,237,.72));
      border-top:1px solid rgba(12,81,63,.08);
    }
    .services-head{
      display:grid;
      grid-template-columns:.92fr 1.08fr;
      gap:42px;
      align-items:end;
      margin-bottom:34px;
    }
    .services h2{
      margin:0;
      color:var(--green-dark);
      font-size:clamp(26px,2.5vw,36px);
      line-height:1.55;
      font-weight:900;
    }
    .services-intro{
      margin:0;
      color:#465953;
      font-size:16.5px;
      line-height:2.05;
    }
    body.en .services-intro{line-height:1.82}
    .services-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:16px;
    }
    .service-card{
      position:relative;
      overflow:hidden;
      min-height:275px;
      padding:24px;
      border-radius:26px;
      background:rgba(255,255,255,.78);
      border:1px solid rgba(12,81,63,.12);
      box-shadow:0 14px 38px rgba(6,56,45,.07);
    }
    .service-card:before{
      content:"";
      position:absolute;
      width:160px;
      height:160px;
      border-radius:50%;
      background:rgba(12,81,63,.055);
      left:-70px;
      bottom:-80px;
    }
    body.en .service-card:before{left:auto;right:-70px}
    .service-number{
      width:46px;
      height:46px;
      border-radius:16px;
      display:grid;
      place-items:center;
      color:var(--green);
      font-weight:900;
      direction:ltr;
      background:linear-gradient(135deg,var(--green-soft),#fff);
      border:1px solid rgba(12,81,63,.1);
      margin-bottom:16px;
    }
    .service-card h3{
      position:relative;
      z-index:2;
      margin:0;
      color:var(--green-dark);
      font-size:20px;
      line-height:1.45;
    }
    .service-card p{
      position:relative;
      z-index:2;
      margin:12px 0 0;
      color:var(--muted);
      line-height:1.85;
      font-size:14px;
    }
    .service-tags{
      position:relative;
      z-index:2;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:18px;
    }
    .service-tags span{
      padding:7px 10px;
      border-radius:999px;
      background:rgba(189,152,82,.10);
      border:1px solid rgba(189,152,82,.26);
      color:var(--green-dark);
      font-size:12px;
      font-weight:800;
    }
    .materials-note{
      display:grid;
      grid-template-columns:auto 1fr;
      gap:16px;
      align-items:start;
      margin-top:18px;
      padding:20px 22px;
      border-radius:24px;
      background:linear-gradient(135deg,rgba(12,81,63,.07),rgba(189,152,82,.10));
      border:1px solid rgba(189,152,82,.32);
    }
    .materials-note .mark{
      width:44px;
      height:44px;
      border-radius:16px;
      display:grid;
      place-items:center;
      background:white;
      border:1px solid rgba(189,152,82,.34);
      color:var(--gold);
      font-weight:900;
    }
    .materials-note strong{
      display:block;
      color:var(--green-dark);
      font-size:16px;
      margin-bottom:7px;
    }
    .materials-note span{
      display:block;
      color:#53635e;
      line-height:1.85;
      font-size:14px;
    }


    /* Cases, Send Case, Contact */
    .cases{
      padding:76px 0 88px;
      background:
        radial-gradient(circle at 88% 12%,rgba(12,81,63,.07),transparent 28%),
        linear-gradient(180deg,rgba(251,247,237,.72),#fff);
      border-top:1px solid rgba(12,81,63,.08);
    }
    .cases-head,.send-head,.contact-head{
      display:grid;
      grid-template-columns:.92fr 1.08fr;
      gap:42px;
      align-items:end;
      margin-bottom:34px;
    }
    .cases h2,.send-case h2,.contact h2{
      margin:0;
      color:var(--green-dark);
      font-size:clamp(26px,2.5vw,36px);
      line-height:1.55;
      font-weight:900;
    }
    .section-intro{
      margin:0;
      color:#465953;
      font-size:16.5px;
      line-height:2.05;
    }
    body.en .section-intro{line-height:1.82}
    .case-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:16px;
    }
    .case-card{
      overflow:hidden;
      border-radius:26px;
      background:rgba(255,255,255,.82);
      border:1px solid rgba(12,81,63,.12);
      box-shadow:0 14px 38px rgba(6,56,45,.07);
    }
    .case-thumb{
      min-height:190px;
      display:grid;
      place-items:center;
      background:
        radial-gradient(circle at center,rgba(189,152,82,.16),transparent 34%),
        linear-gradient(135deg,rgba(12,81,63,.10),rgba(255,255,255,.82));
      color:var(--green);
      font-weight:900;
      font-size:32px;
      direction:ltr;
    }
    .case-body{
      padding:20px;
    }
    .case-body h3{
      margin:0;
      color:var(--green-dark);
      font-size:18px;
      line-height:1.45;
    }
    .case-body p{
      margin:10px 0 0;
      color:var(--muted);
      line-height:1.8;
      font-size:14px;
    }
    .case-note{
      margin-top:18px;
      padding:18px 20px;
      border-radius:22px;
      background:rgba(189,152,82,.10);
      border:1px solid rgba(189,152,82,.28);
      color:#53635e;
      line-height:1.9;
      font-size:14px;
    }

    .send-case{
      padding:76px 0 88px;
      background:
        radial-gradient(circle at 12% 14%,rgba(189,152,82,.11),transparent 28%),
        linear-gradient(180deg,#fff,rgba(251,247,237,.78));
      border-top:1px solid rgba(12,81,63,.08);
    }
    .form-shell{
      display:grid;
      grid-template-columns:1.1fr .9fr;
      gap:22px;
      align-items:start;
    }
    .case-form{
      padding:24px;
      border-radius:28px;
      background:rgba(255,255,255,.82);
      border:1px solid rgba(12,81,63,.12);
      box-shadow:0 14px 38px rgba(6,56,45,.07);
    }
    .form-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:14px;
    }
    .field{
      display:flex;
      flex-direction:column;
      gap:7px;
    }
    .field.full{grid-column:1/-1}
    .field label{
      color:var(--green-dark);
      font-weight:900;
      font-size:13px;
    }
    .field input,.field select,.field textarea{
      width:100%;
      min-height:46px;
      border-radius:15px;
      border:1px solid rgba(12,81,63,.15);
      background:#fff;
      padding:0 13px;
      color:var(--text);
      font-family:inherit;
      outline:none;
    }
    .field textarea{
      min-height:118px;
      padding-top:12px;
      resize:vertical;
      line-height:1.8;
    }
    .form-disabled-note{
      margin:16px 0 0;
      padding:14px 16px;
      border-radius:18px;
      border:1px dashed rgba(189,152,82,.55);
      background:rgba(189,152,82,.08);
      color:#53635e;
      line-height:1.85;
      font-size:13px;
    }
    .send-side{
      padding:28px;
      border-radius:28px;
      background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(251,247,237,.80));
      border:1px solid rgba(189,152,82,.34);
      box-shadow:var(--shadow);
    }
    .send-side h3{
      margin:0;
      color:var(--green-dark);
      font-size:22px;
      line-height:1.5;
    }
    .send-side p{
      color:var(--muted);
      line-height:1.9;
      margin:12px 0 0;
      font-size:14px;
    }
    .step-list{
      display:grid;
      gap:12px;
      margin-top:22px;
    }
    .step{
      display:grid;
      grid-template-columns:auto 1fr;
      gap:12px;
      align-items:start;
      padding:14px;
      border-radius:18px;
      background:rgba(255,255,255,.66);
      border:1px solid var(--line);
    }
    .step b{
      width:34px;
      height:34px;
      border-radius:13px;
      display:grid;
      place-items:center;
      background:var(--green-soft);
      color:var(--green);
      direction:ltr;
    }
    .step span{
      color:#53635e;
      line-height:1.75;
      font-size:13px;
    }

    .contact{
      padding:76px 0 88px;
      background:
        radial-gradient(circle at 86% 20%,rgba(189,152,82,.12),transparent 28%),
        linear-gradient(180deg,rgba(251,247,237,.70),#fff);
      border-top:1px solid rgba(12,81,63,.08);
    }
    .contact-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:16px;
    }
    .contact-card{
      padding:24px;
      border-radius:26px;
      background:rgba(255,255,255,.82);
      border:1px solid rgba(12,81,63,.12);
      box-shadow:0 14px 38px rgba(6,56,45,.07);
    }
    .contact-card strong{
      display:block;
      color:var(--green-dark);
      font-size:17px;
      margin-bottom:9px;
    }
    .contact-card span{
      display:block;
      color:var(--muted);
      line-height:1.85;
      font-size:14px;
    }
    .contact-card a{
      color:var(--green-dark);
      font-weight:800;
      direction:ltr;
      display:inline-block;
    }
    .contact-card a:hover{color:var(--green)}
    .footer{
      padding:26px 0;
      border-top:1px solid rgba(12,81,63,.09);
      background:var(--green-dark);
      color:rgba(255,255,255,.78);
      font-size:13px;
    }
    .footer-inner{
      display:flex;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap;
      align-items:center;
    }
    .footer b{
      color:var(--gold-soft);
      direction:ltr;
    }

    @media(max-width:980px){
      .top{flex-wrap:wrap;padding:14px 0;min-height:96px}
      nav{order:3;width:100%;overflow-x:auto;padding-bottom:7px}
      .lang{order:2;margin-right:auto}
      .grid{grid-template-columns:1fr;gap:34px;min-height:auto}
      .content{order:1}
      .visual{order:2}
      .hero{padding-top:40px}
      .hero:before{background-size:360px;opacity:.035}
      .about-grid{grid-template-columns:1fr}
      .about-card{position:relative;top:auto}
      .services-head{grid-template-columns:1fr;gap:18px}
      .services-grid{grid-template-columns:1fr 1fr}
      .cases-head,.send-head,.contact-head{grid-template-columns:1fr;gap:18px}
      .case-grid{grid-template-columns:1fr 1fr}
      .form-shell{grid-template-columns:1fr}
      .contact-grid{grid-template-columns:1fr}
    }
    @media(max-width:560px){
      .wrap{width:calc(100% - 26px)}
      .brand span{display:none}
      .brand img{width:62px;height:62px}
      .brand strong{font-size:18px}
      nav{gap:12px;font-size:13px}
      h1{font-size:27px;line-height:1.62}
      .lead{font-size:16px}
      .btn{width:100%}
      .professional-card{padding:22px}
      .logo-badge{position:static;margin-bottom:16px;width:84px;height:84px}
      .logo-badge img{width:66px;height:66px}
      .panel-title{padding-left:0;min-height:auto}
      body.en .panel-title{padding-right:0}
      .trust{grid-template-columns:1fr 1fr}
      .about{padding:54px 0 64px}
      .principles{grid-template-columns:1fr}
      .services{padding:54px 0 64px}
      .services-grid{grid-template-columns:1fr}
      .materials-note{grid-template-columns:1fr}
      .case-grid{grid-template-columns:1fr}
      .form-grid{grid-template-columns:1fr}
    }
  

/* Multipage additions */
nav a.active{
  color:var(--gold-soft);
  font-weight:900;
}
nav a.active:not(.nav-cta){
  border-bottom:2px solid var(--gold-soft);
}
nav .nav-cta.active{
  background:rgba(234,216,182,.24);
}
.page-shell{
  min-height:calc(100vh - 104px);
}
body:not(.home-page) .about,
body:not(.home-page) .services,
body:not(.home-page) .cases,
body:not(.home-page) .send-case,
body:not(.home-page) .contact{
  min-height:calc(100vh - 104px);
}
.home-page .hero{
  min-height:calc(100vh - 104px);
}
@media(max-width:980px){
  .page-shell{min-height:auto}
}


/* =========================================================
   HOME HERO V2 — Academy Dental Lab
   Lightweight animated schematic; no external video required
   ========================================================= */
.hero-v2{
  min-height:calc(100vh - 104px);
  padding:0;
  color:#fff;
  background:
    radial-gradient(circle at 14% 18%,rgba(205,172,105,.18),transparent 28%),
    radial-gradient(circle at 83% 65%,rgba(38,132,101,.26),transparent 34%),
    linear-gradient(128deg,#062e25 0%,#074535 48%,#0a5943 100%);
  isolation:isolate;
}
.hero-v2:before{display:none}
.hero-noise{
  position:absolute;inset:0;z-index:-1;opacity:.11;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}
.hero-orb{position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none;z-index:-1}
.hero-orb-one{width:460px;height:460px;left:-220px;top:8%;border:1px solid rgba(217,184,117,.18);box-shadow:inset 0 0 100px rgba(217,184,117,.05)}
.hero-orb-two{width:300px;height:300px;right:34%;bottom:-180px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)}
.hero-layout{
  min-height:calc(100vh - 104px);
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:clamp(32px,5vw,78px);
  align-items:center;
  padding-top:54px;
  padding-bottom:54px;
}
.hero-copy{order:1;position:relative;z-index:3}
.hero-art{order:2;position:relative;z-index:2;min-width:0}
body.en .hero-copy{order:1}
body.en .hero-art{order:2}
.hero-eyebrow{
  display:flex;align-items:center;flex-wrap:wrap;gap:9px;
  margin-bottom:20px;color:rgba(255,255,255,.72);font-size:13px;font-weight:800;
}
.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:#d7b873;box-shadow:0 0 0 6px rgba(215,184,115,.11)}
.eyebrow-separator{color:#d7b873}
.hero-title{
  display:flex;flex-direction:column;gap:2px;
  margin:0;max-width:720px;color:#fff;
  font-size:clamp(34px,4.2vw,60px);line-height:1.33;letter-spacing:-1.1px;font-weight:900;
}
.hero-title-accent{
  color:#f1d89f;
  text-shadow:0 8px 34px rgba(0,0,0,.18);
}
.hero-description{
  max-width:670px;margin:22px 0 0;color:rgba(255,255,255,.76);
  font-size:clamp(15px,1.22vw,17.5px);line-height:2.05;
}
body.en .hero-description{line-height:1.78;max-width:640px}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero-btn{
  min-height:52px;padding:0 23px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:12px;
  font-weight:900;transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}
.hero-btn:hover,.hero-text-link:hover{transform:translateY(-3px)}
.hero-btn-primary{background:linear-gradient(135deg,#efd79f,#cba85f);color:#173c32;box-shadow:0 16px 36px rgba(0,0,0,.24)}
.hero-btn-primary:hover{box-shadow:0 20px 44px rgba(0,0,0,.3)}
.hero-btn-secondary{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.075);color:#fff;backdrop-filter:blur(10px)}
.hero-btn-secondary:hover{background:rgba(255,255,255,.13)}
.btn-arrow{font-size:18px;line-height:1}
body.en .btn-arrow{transform:rotate(180deg)}
.hero-text-link{display:inline-flex;align-items:center;gap:8px;padding:10px 5px;color:#f1d89f;font-weight:900;transition:transform .25s ease}
.hero-proof{
  display:flex;align-items:stretch;gap:18px;margin-top:34px;padding-top:24px;
  border-top:1px solid rgba(255,255,255,.12);max-width:660px;
}
.proof-item{min-width:0;flex:1}
.proof-item strong{display:block;color:#fff;font-size:18px;line-height:1.35;direction:ltr}
.proof-item span{display:block;margin-top:5px;color:rgba(255,255,255,.55);font-size:11.5px;line-height:1.5}
.proof-divider{width:1px;background:rgba(255,255,255,.12)}
.art-frame{
  position:relative;max-width:565px;margin-inline-start:auto;padding:18px;
  border-radius:34px;border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
  box-shadow:0 34px 90px rgba(0,18,13,.4),inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter:blur(22px);overflow:hidden;
}
.art-frame:before{content:"";position:absolute;width:250px;height:250px;left:-110px;top:-100px;border-radius:50%;background:rgba(224,191,123,.12);filter:blur(20px)}
.art-topline{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:3px 6px 16px;border-bottom:1px solid rgba(255,255,255,.1)}
.art-status{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.74);font-size:12px;font-weight:800}
.art-status i{width:7px;height:7px;border-radius:50%;background:#79d5aa;box-shadow:0 0 0 5px rgba(121,213,170,.11);animation:statusPulse 2.2s ease-in-out infinite}
.art-code{direction:ltr;color:#e0c283;font-size:11px;font-weight:900;letter-spacing:1.4px}
.implant-stage{position:relative;height:min(65vh,610px);min-height:505px;margin-top:10px;overflow:hidden;border-radius:25px;background:radial-gradient(circle at 50% 36%,rgba(255,255,255,.12),transparent 34%),linear-gradient(180deg,rgba(0,35,27,.2),rgba(0,27,21,.52))}
.scan-grid{position:absolute;inset:0;opacity:.28;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,transparent,black 20%,black 75%,transparent)}
.scan-beam{position:absolute;z-index:3;left:7%;right:7%;height:2px;top:10%;background:linear-gradient(90deg,transparent,#d9bd7d,transparent);box-shadow:0 0 18px rgba(217,189,125,.75);animation:scanMove 5.4s ease-in-out infinite}
.scan-beam:after{content:"";position:absolute;left:0;right:0;top:0;height:70px;transform:translateY(-100%);background:linear-gradient(to top,rgba(217,189,125,.08),transparent)}
.implant-visual{position:absolute;z-index:2;width:88%;height:92%;inset:4% 6%;overflow:visible}
.svg-crown{transform-origin:260px 190px;animation:crownFloat 5.6s ease-in-out infinite}
.svg-abutment{transform-origin:260px 390px;animation:abutmentFloat 5.6s ease-in-out infinite}
.svg-implant{transform-origin:260px 500px;animation:implantFloat 5.6s ease-in-out infinite}
.measure-lines{animation:dashFlow 10s linear infinite}
.orbit{position:absolute;border-radius:50%;border:1px solid rgba(226,197,137,.16);z-index:1;left:50%;top:46%;transform:translate(-50%,-50%)}
.orbit-one{width:330px;height:330px;animation:orbitSpin 15s linear infinite}
.orbit-two{width:430px;height:430px;border-color:rgba(255,255,255,.08);animation:orbitSpinReverse 22s linear infinite}
.orbit i{position:absolute;width:8px;height:8px;border-radius:50%;background:#e3c482;box-shadow:0 0 18px rgba(227,196,130,.9);left:50%;top:-4px}
.art-label{position:absolute;z-index:4;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.13);background:rgba(2,38,29,.62);backdrop-filter:blur(12px);box-shadow:0 12px 32px rgba(0,0,0,.18)}
.art-label span{direction:ltr;color:#d7b873;font-size:10px;font-weight:900}
.art-label b{color:#fff;font-size:11px;white-space:nowrap}
.art-label-crown{right:6%;top:22%;animation:labelFloat 4.4s ease-in-out infinite}
.art-label-fit{left:6%;top:56%;animation:labelFloat 4.9s ease-in-out .6s infinite}
.art-label-implant{right:8%;bottom:13%;animation:labelFloat 4.6s ease-in-out 1s infinite}
.art-footer{position:relative;z-index:3;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:15px 4px 3px}
.art-footer div{padding:8px 10px;border-inline-start:1px solid rgba(255,255,255,.1)}
.art-footer div:first-child{border-inline-start:0}
.art-footer span{display:block;color:rgba(255,255,255,.52);font-size:10px;margin-bottom:4px}
.art-footer b{display:block;direction:ltr;color:#fff;font-size:10px;font-weight:800;white-space:nowrap}
@keyframes scanMove{0%,100%{top:13%;opacity:.35}50%{top:84%;opacity:1}}
@keyframes crownFloat{0%,100%{transform:translateY(-4px)}50%{transform:translateY(9px)}}
@keyframes abutmentFloat{0%,100%{transform:translateY(2px)}50%{transform:translateY(-4px)}}
@keyframes implantFloat{0%,100%{transform:translateY(3px)}50%{transform:translateY(-2px)}}
@keyframes orbitSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes orbitSpinReverse{to{transform:translate(-50%,-50%) rotate(-360deg)}}
@keyframes dashFlow{to{stroke-dashoffset:-150}}
@keyframes labelFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes statusPulse{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:1050px){
  .hero-layout{grid-template-columns:1fr .9fr;gap:34px}
  .hero-title{font-size:clamp(33px,4.5vw,48px)}
  .implant-stage{min-height:465px}
  .art-label b{display:none}
}
@media(max-width:820px){
  .hero-v2{min-height:auto}
  .hero-layout{min-height:auto;grid-template-columns:1fr;padding-top:42px;padding-bottom:46px}
  .hero-copy,.hero-art{order:initial}
  .hero-copy{text-align:center}
  .hero-eyebrow,.hero-actions{justify-content:center}
  .hero-title{align-items:center;max-width:100%;font-size:clamp(33px,9vw,50px)}
  .hero-description{margin-inline:auto;max-width:680px}
  .hero-proof{margin-inline:auto;text-align:center}
  .art-frame{max-width:590px;margin:8px auto 0}
  .implant-stage{height:560px;min-height:0}
}
@media(max-width:560px){
  .hero-layout{padding-top:30px;padding-bottom:32px}
  .hero-eyebrow{font-size:11px;margin-bottom:15px}
  .hero-title{font-size:clamp(30px,10vw,42px);line-height:1.38;letter-spacing:-.6px}
  .hero-description{font-size:14.5px;line-height:1.95;margin-top:16px}
  .hero-actions{margin-top:23px;display:grid;grid-template-columns:1fr 1fr;width:100%}
  .hero-btn{padding:0 14px;min-height:49px;font-size:13px}
  .hero-text-link{grid-column:1/-1;justify-content:center}
  .hero-proof{gap:9px;margin-top:24px;padding-top:18px}
  .proof-item strong{font-size:14px}
  .proof-item span{font-size:9.5px}
  .art-frame{padding:12px;border-radius:25px}
  .implant-stage{height:470px;border-radius:20px}
  .orbit-one{width:260px;height:260px}.orbit-two{width:350px;height:350px}
  .art-footer{gap:2px}.art-footer div{padding:7px 5px}.art-footer b{font-size:8px}.art-footer span{font-size:9px}
  .art-label{padding:8px}.art-label b{display:none}
}
@media(prefers-reduced-motion:reduce){
  .scan-beam,.svg-crown,.svg-abutment,.svg-implant,.orbit-one,.orbit-two,.measure-lines,.art-label,.art-status i{animation:none!important}
}


/* --- Home video hero v1 --- */
.hero-video-home{
  position:relative;
  min-height:calc(100vh - 96px);
  padding:0;
  background:#042f25;
  overflow:hidden;
}
.hero-video-shell{
  position:relative;
  min-height:calc(100vh - 96px);
}
.hero-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  background:#062f26;
}
.hero-video-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(2,23,18,.74) 0%, rgba(4,36,28,.48) 36%, rgba(7,46,35,.30) 60%, rgba(3,19,15,.70) 100%);
}
.hero-video-gradient{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 72% 34%, rgba(10,145,107,.18), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(214,182,114,.18), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.10) 44%, rgba(0,0,0,.30) 100%);
}
.hero-video-noise{
  position:absolute;
  inset:0;
  opacity:.12;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  mix-blend-mode:soft-light;
}
.hero-video-layout{
  position:relative;
  z-index:2;
  min-height:calc(100vh - 96px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding-top:clamp(42px, 8vh, 96px);
  padding-bottom:clamp(24px, 4vh, 44px);
}
.hero-video-copy{
  width:min(660px, 100%);
  margin-inline-start:auto;
  text-align:right;
  padding:clamp(18px, 2vw, 28px);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(3,28,22,.34), rgba(3,26,20,.22));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border:1px solid rgba(228,214,185,.14);
  box-shadow:0 18px 44px rgba(0,0,0,.20);
}
.hero-video-eyebrow{
  color:#f2e1b3;
  margin-bottom:18px;
}
.hero-video-title{
  margin:0;
  display:grid;
  gap:10px;
  font-size:clamp(2.8rem, 6vw, 5.6rem);
  line-height:.96;
  font-weight:900;
  color:#fffdfa;
  text-wrap:balance;
}
.hero-video-title .hero-title-accent{
  color:#efd79c;
}
.hero-video-description{
  margin:26px 0 0;
  max-width:62ch;
  font-size:clamp(1rem, 1.55vw, 1.26rem);
  line-height:2;
  color:rgba(255,255,255,.92);
}
.hero-video-actions{
  margin-top:28px;
}
.hero-video-bottom{
  margin-top:24px;
}
.hero-video-proof{
  margin:0;
  max-width:1120px;
  margin-inline:auto;
  padding:18px 22px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(3,27,21,.58), rgba(3,23,18,.44));
  border:1px solid rgba(228,214,185,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}
.hero-video-home .proof-item strong,
.hero-video-home .proof-item span{
  color:#fff;
}
.hero-video-home .proof-item strong{
  color:#f0d89e;
}
.hero-video-home .proof-divider{
  background:rgba(239,215,156,.28);
}
@media (max-width: 1180px){
  .hero-video-copy{
    width:min(620px, 100%);
  }
}
@media (max-width: 980px){
  .hero-video-home,
  .hero-video-shell,
  .hero-video-layout{
    min-height:auto;
  }
  .hero-bg-video{
    height:420px;
  }
  .hero-video-overlay,
  .hero-video-gradient,
  .hero-video-noise{
    height:420px;
    bottom:auto;
  }
  .hero-video-layout{
    display:block;
    padding-top:28px;
    padding-bottom:24px;
  }
  .hero-video-copy{
    margin-top:220px;
    width:100%;
    padding:18px;
    border-radius:22px;
  }
  .hero-video-bottom{
    margin-top:18px;
  }
  .hero-video-proof{
    grid-template-columns:1fr;
    gap:14px;
  }
  .hero-video-home .proof-divider{
    display:none;
  }
}
@media (max-width: 640px){
  .hero-bg-video{
    height:360px;
    object-position:center center;
  }
  .hero-video-overlay,
  .hero-video-gradient,
  .hero-video-noise{
    height:360px;
  }
  .hero-video-copy{
    margin-top:188px;
    padding:16px;
  }
  .hero-video-title{
    font-size:clamp(2.05rem, 10vw, 3.4rem);
    line-height:1.02;
  }
  .hero-video-description{
    font-size:.98rem;
    line-height:1.9;
  }
  .hero-video-actions{
    gap:10px;
  }
}
@media (prefers-reduced-motion: reduce){
  .hero-bg-video{
    animation:none;
  }
}



/* --- Home video hero v2 refinements --- */
.hero-video-home{
  min-height:calc(100vh - 96px);
}
.hero-video-shell{
  min-height:calc(100vh - 96px);
}
.hero-bg-video{
  object-position:center center;
  filter:saturate(1.02) contrast(1.02);
}
.hero-video-overlay{
  background:
    linear-gradient(90deg,
      rgba(2,23,18,.64) 0%,
      rgba(4,36,28,.36) 34%,
      rgba(7,46,35,.18) 58%,
      rgba(3,19,15,.54) 100%);
}
.hero-video-gradient{
  background:
    radial-gradient(circle at 72% 34%, rgba(10,145,107,.14), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(214,182,114,.16), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.08) 44%, rgba(0,0,0,.24) 100%);
}
.hero-video-layout{
  justify-content:flex-end;
  gap:28px;
  padding-top:clamp(70px, 12vh, 130px);
  padding-bottom:clamp(24px, 5vh, 42px);
}
.hero-video-copy{
  width:min(590px, 100%);
  margin-inline-start:auto;
  margin-inline-end:0;
  padding:clamp(20px, 2.2vw, 32px);
  border-radius:30px;
  background:linear-gradient(180deg, rgba(4,29,22,.18), rgba(4,29,22,.10));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border:1px solid rgba(236,224,194,.18);
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
.hero-video-title{
  font-size:clamp(2.45rem, 4.9vw, 4.65rem);
  line-height:1.02;
}
.hero-video-description{
  margin-top:20px;
  max-width:52ch;
  font-size:clamp(1rem, 1.38vw, 1.14rem);
  line-height:1.95;
}
.hero-video-actions{
  margin-top:24px;
}
.hero-video-proof{
  max-width:1000px;
  margin-inline:0 auto;
  padding:16px 20px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(4,29,22,.24), rgba(4,29,22,.12));
  border:1px solid rgba(236,224,194,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 980px){
  .hero-bg-video{
    height:460px;
    object-position:center center;
  }
  .hero-video-overlay,
  .hero-video-gradient,
  .hero-video-noise{
    height:460px;
    bottom:auto;
  }
  .hero-video-layout{
    display:block;
    padding-top:0;
    padding-bottom:24px;
  }
  .hero-video-copy{
    width:calc(100% - 24px);
    margin:0 auto;
    margin-top:170px;
    padding:18px 16px 18px;
    border-radius:24px;
    background:linear-gradient(180deg, rgba(4,29,22,.24), rgba(4,29,22,.12));
    box-shadow:0 18px 42px rgba(0,0,0,.16);
  }
  .hero-video-title{
    font-size:clamp(2rem, 7vw, 3.05rem);
    line-height:1.05;
  }
  .hero-video-description{
    margin-top:16px;
    font-size:.98rem;
    line-height:1.88;
  }
  .hero-video-actions{
    margin-top:18px;
  }
  .hero-video-bottom{
    margin-top:14px;
  }
  .hero-video-proof{
    width:calc(100% - 24px);
    margin:0 auto;
    padding:14px 16px;
    border-radius:20px;
  }
  .hero-video-home .proof-item{
    align-items:flex-start;
  }
}
@media (max-width: 640px){
  .hero-bg-video{
    height:430px;
  }
  .hero-video-overlay,
  .hero-video-gradient,
  .hero-video-noise{
    height:430px;
  }
  .hero-video-copy{
    margin-top:145px;
    width:calc(100% - 20px);
    padding:16px 14px;
    border-radius:22px;
  }
  .hero-video-title{
    font-size:clamp(1.78rem, 8.5vw, 2.6rem);
  }
  .hero-video-description{
    font-size:.95rem;
    line-height:1.82;
  }
  .hero-video-proof{
    width:calc(100% - 20px);
    padding:12px 14px;
  }
}


/* --- Home video hero v3: stacked layout, video first / text below --- */
.site-header{
  box-shadow:0 14px 34px rgba(6,56,45,.16);
}
.top{
  min-height:114px;
  gap:34px;
  padding:12px 0;
}
.brand img{
  width:80px;
  height:80px;
}
.brand strong{
  font-size:22px;
}
.brand span{
  font-size:12.5px;
}
nav{
  gap:22px;
}
.nav-cta{
  padding:12px 20px!important;
}
.hero-video-home.hero-video-stacked{
  min-height:auto;
  padding:0 0 40px;
  background:
    linear-gradient(180deg, #07372d 0%, #0a4d3d 18%, #0a4034 42%, #f6f1e6 42%, #fbf7ee 100%);
}
.hero-video-shell{
  min-height:auto;
}
.hero-video-stage{
  position:relative;
  width:min(1180px, calc(100% - 28px));
  margin:0 auto;
  margin-top:28px;
  border-radius:34px;
  overflow:hidden;
  min-height:clamp(520px, 68vh, 760px);
  box-shadow:0 24px 54px rgba(0,0,0,.18);
}
.hero-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.hero-video-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(4,31,24,.22) 0%, rgba(4,31,24,.06) 38%, rgba(4,31,24,.18) 100%);
}
.hero-video-gradient{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 76% 32%, rgba(16,149,111,.10), transparent 24%),
    radial-gradient(circle at 22% 18%, rgba(223,188,115,.14), transparent 20%);
}
.hero-video-noise{
  position:absolute;
  inset:0;
  opacity:.08;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:3px 3px,3px 3px;
  mix-blend-mode:soft-light;
}
.hero-video-badge{
  position:absolute;
  top:20px;
  right:20px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(4,32,25,.30);
  color:#f4e3b4;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(244,227,180,.22);
  font-size:13px;
  font-weight:800;
}
.hero-video-layout.hero-video-layout-stacked{
  min-height:auto;
  display:block;
  padding-top:0;
  padding-bottom:0;
}
.hero-video-copy.hero-video-copy-below{
  width:min(880px, calc(100% - 44px));
  margin:24px auto 0;
  text-align:center;
  padding:26px 28px 28px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(7,55,44,.16), rgba(7,55,44,.08));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(7,55,44,.12);
  box-shadow:0 14px 38px rgba(4,38,30,.10);
}
.hero-video-eyebrow{
  justify-content:center;
  color:#0a4d3d;
}
.hero-video-title.hero-video-title-small{
  margin-top:6px;
  font-size:clamp(2rem, 4vw, 3.55rem);
  line-height:1.08;
  color:#0b2b23;
}
.hero-video-title.hero-video-title-small .hero-title-accent{
  color:#8c6c2a;
}
.hero-video-description{
  margin:18px auto 0;
  max-width:58ch;
  font-size:clamp(.98rem, 1.25vw, 1.08rem);
  line-height:1.95;
  color:#24443b;
}
.hero-video-actions.hero-video-actions-stacked{
  margin-top:22px;
  justify-content:center;
}
.hero-video-bottom{
  margin-top:18px;
}
.hero-video-proof{
  max-width:880px;
  margin:0 auto;
  padding:16px 22px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(7,55,44,.10), rgba(7,55,44,.04));
  border:1px solid rgba(7,55,44,.10);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 30px rgba(4,38,30,.08);
}
.hero-video-home .proof-item strong{
  color:#8c6c2a;
}
.hero-video-home .proof-item span{
  color:#24443b;
}
.hero-video-home .proof-divider{
  background:rgba(10,77,61,.14);
}
@media (max-width: 980px){
  .top{
    min-height:104px;
  }
  .brand img{
    width:72px;
    height:72px;
  }
  .hero-video-stage{
    width:calc(100% - 18px);
    margin-top:18px;
    min-height:420px;
    border-radius:24px;
  }
  .hero-video-badge{
    top:14px;
    right:14px;
    left:14px;
    justify-content:center;
    text-align:center;
    font-size:12px;
    padding:9px 12px;
  }
  .hero-video-copy.hero-video-copy-below{
    width:calc(100% - 18px);
    margin-top:16px;
    padding:20px 18px 22px;
    border-radius:22px;
  }
  .hero-video-title.hero-video-title-small{
    font-size:clamp(1.72rem, 6.4vw, 2.7rem);
    line-height:1.12;
  }
  .hero-video-description{
    font-size:.96rem;
    line-height:1.88;
  }
  .hero-video-proof{
    width:calc(100% - 18px);
    padding:14px 16px;
    border-radius:20px;
  }
}
@media (max-width: 640px){
  .top{
    min-height:100px;
  }
  .brand img{
    width:68px;
    height:68px;
  }
  .brand strong{
    font-size:19px;
  }
  .hero-video-stage{
    min-height:300px;
    border-radius:20px;
  }
  .hero-video-copy.hero-video-copy-below{
    width:calc(100% - 14px);
    margin-top:14px;
    padding:18px 14px 20px;
    border-radius:18px;
  }
  .hero-video-title.hero-video-title-small{
    font-size:clamp(1.48rem, 7.2vw, 2.2rem);
  }
  .hero-video-description{
    font-size:.93rem;
    line-height:1.8;
  }
  .hero-video-actions.hero-video-actions-stacked{
    gap:10px;
  }
  .hero-video-proof{
    width:calc(100% - 14px);
    grid-template-columns:1fr;
    gap:14px;
    padding:12px 14px;
  }
  .hero-video-home .proof-divider{
    display:none;
  }
}



/* --- Home video hero v4: full-bleed video + unified green + compact mobile header --- */

/* Desktop header remains visually generous */
@media (min-width:981px){
  .top{
    min-height:114px;
    gap:34px;
    padding:12px 0;
  }
  .brand img{
    width:80px;
    height:80px;
  }
}

/* Full-width video with no side margins or rounded outer corners */
.hero-video-home.hero-video-stacked{
  padding:0 0 34px;
  background:
    radial-gradient(circle at 18% 22%, rgba(189,152,82,.12), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(25,135,103,.16), transparent 30%),
    linear-gradient(180deg,#07372d 0%,#0a4d3d 56%,#07372d 100%);
}
.hero-video-stage{
  width:100%;
  margin:0;
  min-height:clamp(540px,70vh,780px);
  border-radius:0;
  box-shadow:none;
}
.hero-bg-video{
  object-position:center center;
}
.hero-video-overlay{
  background:linear-gradient(
    180deg,
    rgba(4,31,24,.20) 0%,
    rgba(4,31,24,.04) 42%,
    rgba(4,31,24,.18) 100%
  );
}

/* Text begins immediately below video, with the same green visual language */
.hero-video-layout.hero-video-layout-stacked{
  padding-top:0;
}
.hero-video-copy.hero-video-copy-below{
  width:min(920px,calc(100% - 44px));
  margin:0 auto;
  padding:26px 30px 28px;
  border-radius:0 0 30px 30px;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.055));
  border:1px solid rgba(234,216,182,.17);
  border-top:0;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 42px rgba(0,0,0,.14);
}
.hero-video-eyebrow{
  color:#f0d89e;
}
.hero-video-title.hero-video-title-small{
  color:#fff;
  font-size:clamp(1.9rem,3.5vw,3.15rem);
}
.hero-video-title.hero-video-title-small .hero-title-accent{
  color:#efd79c;
}
.hero-video-description{
  color:rgba(255,255,255,.90);
}
.hero-video-proof{
  max-width:920px;
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.045));
  border:1px solid rgba(234,216,182,.14);
  box-shadow:0 14px 34px rgba(0,0,0,.12);
}
.hero-video-home .proof-item strong{
  color:#efd79c;
}
.hero-video-home .proof-item span{
  color:rgba(255,255,255,.86);
}
.hero-video-home .proof-divider{
  background:rgba(234,216,182,.20);
}

/* Mobile header: compact, coordinated, no empty vertical gap */
@media (max-width:980px){
  .site-header{
    position:sticky;
  }
  .top{
    min-height:auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    column-gap:10px;
    row-gap:2px;
    padding:6px 0 4px;
  }
  .brand{
    order:1;
    min-width:0;
    gap:9px;
  }
  .brand img{
    width:70px;
    height:70px;
    flex:0 0 70px;
  }
  .brand strong{
    font-size:18px;
    line-height:1.1;
  }
  .brand span{
    display:none;
  }
  .lang{
    order:2;
    margin:0;
    padding:8px 11px;
    font-size:12px;
  }
  nav{
    order:3;
    grid-column:1/-1;
    width:100%;
    gap:14px;
    padding:0 0 4px;
    margin:0;
    font-size:13px;
    scrollbar-width:none;
  }
  nav::-webkit-scrollbar{display:none}
  nav a{
    padding:6px 2px;
  }
  .nav-cta{
    padding:8px 14px!important;
  }

  .hero-video-stage{
    width:100%;
    margin:0;
    min-height:430px;
    border-radius:0;
  }
  .hero-video-copy.hero-video-copy-below{
    width:calc(100% - 18px);
    margin:0 auto;
    padding:20px 18px 22px;
    border-radius:0 0 24px 24px;
  }
  .hero-video-title.hero-video-title-small{
    font-size:clamp(1.62rem,5.9vw,2.45rem);
  }
  .hero-video-proof{
    width:calc(100% - 18px);
  }
}

@media (max-width:640px){
  .top{
    grid-template-columns:minmax(0,1fr) auto;
    padding:4px 0 2px;
    row-gap:0;
  }
  .brand{
    gap:8px;
  }
  .brand img{
    width:68px;
    height:68px;
    flex-basis:68px;
  }
  .brand strong{
    font-size:17px;
  }
  .lang{
    padding:7px 10px;
  }
  nav{
    gap:12px;
    font-size:12.5px;
    padding-bottom:3px;
  }
  nav a{
    padding:5px 1px;
  }
  .nav-cta{
    padding:7px 12px!important;
  }

  .hero-video-stage{
    min-height:330px;
  }
  .hero-video-badge{
    top:10px;
    right:10px;
    left:10px;
    padding:8px 10px;
    font-size:11.5px;
  }
  .hero-video-copy.hero-video-copy-below{
    width:calc(100% - 12px);
    padding:17px 13px 19px;
    border-radius:0 0 20px 20px;
  }
  .hero-video-title.hero-video-title-small{
    font-size:clamp(1.42rem,6.8vw,2rem);
    line-height:1.13;
  }
  .hero-video-description{
    font-size:.91rem;
    line-height:1.78;
  }
  .hero-video-proof{
    width:calc(100% - 12px);
  }
}

/* --- Stage 8: scoped glass header and managed home Hero --- */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  isolation:isolate;
  background:rgba(3,38,30,.96);
  border-bottom:1px solid rgba(239,215,156,.20);
  box-shadow:0 10px 28px rgba(1,24,19,.18);
  transition:background-color .28s ease,box-shadow .28s ease,border-color .28s ease;
}

@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
  .site-header{
    background:rgba(3,38,30,.80);
    backdrop-filter:blur(18px) saturate(128%);
    -webkit-backdrop-filter:blur(18px) saturate(128%);
  }
}

.site-header.is-scrolled{
  background:rgba(3,34,27,.94);
  border-bottom-color:rgba(239,215,156,.28);
  box-shadow:0 14px 34px rgba(1,24,19,.28);
}

.site-header .top{
  position:relative;
  display:flex;
  align-items:center;
  gap:clamp(14px,2.2vw,30px);
  min-height:88px!important;
  transition:min-height .28s ease;
}

.site-header.is-scrolled .top{
  min-height:76px!important;
}

.site-header .brand{
  min-width:0;
  flex:0 1 auto;
}

.site-header .brand img,
.site-header .brand .custom-logo{
  width:58px;
  height:58px;
  flex:0 0 58px;
  object-fit:contain;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.18));
  transition:width .28s ease,height .28s ease,transform .28s ease;
}

.site-header.is-scrolled .brand img,
.site-header.is-scrolled .brand .custom-logo{
  width:52px;
  height:52px;
}

.site-header .brand-copy{
  min-width:0;
}

.site-header .brand-copy strong{
  color:#fff;
  font-size:clamp(17px,1.45vw,21px);
  line-height:1.25;
}

.site-header .brand-copy > span{
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.5;
}

.site-header .primary-navigation{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  margin-inline-start:auto;
}


.site-header .primary-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:4px;
  margin:0;
  padding:0;
  list-style:none;
}

.site-header .primary-menu > li > a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:42px;
  padding:9px 12px;
  border-radius:12px;
  color:rgba(255,255,255,.86);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:color .22s ease,background-color .22s ease,transform .22s ease;
}

.site-header .primary-menu > li > a::after{
  content:"";
  position:absolute;
  right:12px;
  left:12px;
  bottom:5px;
  height:1px;
  border-radius:999px;
  background:#efd79c;
  transform:scaleX(0);
  transition:transform .22s ease;
}

.site-header .primary-menu > li > a:hover,
.site-header .primary-menu > li > a:focus-visible,
.site-header .primary-menu > .current-menu-item > a,
.site-header .primary-menu > .current_page_item > a{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.site-header .primary-menu > li > a:hover::after,
.site-header .primary-menu > li > a:focus-visible::after,
.site-header .primary-menu > .current-menu-item > a::after,
.site-header .primary-menu > .current_page_item > a::after{
  transform:scaleX(1);
}

.site-header .primary-menu a:focus-visible,
.site-header .lang:focus-visible,
.site-header .primary-menu-toggle:focus-visible{
  outline:2px solid #f2dca8;
  outline-offset:3px;
}

.site-header .header-actions{
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
}


/* Dentist access stays separate from the public WordPress menu. */
.site-header .dentist-header-access{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.site-header .dentist-header-access-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:7px 11px;
  border:1px solid rgba(239,215,156,.34);
  border-radius:12px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}
.site-header .dentist-header-access-link.is-primary{
  background:#0c745a;
  border-color:#168469;
  box-shadow:0 7px 18px rgba(0,0,0,.16);
}
.site-header .dentist-header-access-link.is-secondary{background:rgba(255,255,255,.07)}
.site-header .dentist-header-access-link:hover{transform:translateY(-1px);background:#128064;border-color:#d9c385}
.site-header .dentist-header-access-link:focus-visible{outline:2px solid #f2dca8;outline-offset:3px}
.site-header .dentist-header-access-label-short{display:none}

@media (max-width:1180px){
  .site-header .dentist-header-access-link{padding-inline:8px;font-size:11px}
}
@media (max-width:980px){
  .site-header .dentist-header-access-label-full{display:none}
  .site-header .dentist-header-access-label-short{display:inline}
  .site-header .dentist-header-access-link{min-height:38px;padding-inline:9px}
}
@media (max-width:560px){
  .site-header .top{flex-wrap:wrap}
  .site-header .brand{max-width:calc(100% - 94px)}
  .site-header .header-actions{width:100%;justify-content:flex-end;margin-top:-4px}
  .site-header .dentist-header-access{margin-inline-end:auto}
  .site-header .dentist-header-access-link{min-height:36px;padding:6px 8px;font-size:10.5px}
}

.site-header .lang{
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:40px;
  padding:6px 10px;
  border:1px solid rgba(239,215,156,.38);
  border-radius:13px;
  background:rgba(255,255,255,.075);
  color:#f3dfb2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
  transition:background-color .22s ease,border-color .22s ease,transform .22s ease;
}

.site-header .lang:hover{
  background:rgba(239,215,156,.14);
  border-color:rgba(239,215,156,.58);
  transform:translateY(-1px);
}

.site-header .primary-menu-toggle{
  display:none;
  width:44px;
  height:40px;
  padding:9px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:13px;
  background:rgba(255,255,255,.075);
  cursor:pointer;
}

.site-header .primary-menu-toggle > span{
  display:block;
  width:100%;
  height:2px;
  margin:4px 0;
  border-radius:999px;
  background:#fff;
  transition:transform .22s ease,opacity .22s ease;
}

.site-header .primary-menu-toggle.is-open > span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}

.site-header .primary-menu-toggle.is-open > span:nth-child(2){
  opacity:0;
}

.site-header .primary-menu-toggle.is-open > span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

.home-hero-stage8{
  position:relative;
  margin:0;
  background:#052f26;
}

.home-hero-scene{
  position:relative;
  isolation:isolate;
  display:grid;
  min-height:clamp(620px,78svh,860px);
  overflow:hidden;
  background:#063a2f;
}

.home-hero-media,
.home-hero-poster,
.home-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.home-hero-media{
  z-index:0;
  overflow:hidden;
  background:#063a2f;
}

.home-hero-poster,
.home-hero-video{
  display:block;
  object-fit:cover;
  object-position:center;
}

.home-hero-poster{
  z-index:0;
}

.home-hero-video{
  z-index:1;
}

.home-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(2,25,20,.06) 0%,rgba(2,25,20,.18) 54%,rgba(2,25,20,.52) 100%),
    linear-gradient(180deg,rgba(2,25,20,.04),rgba(2,25,20,.13));
}

body.en .home-hero-overlay{
  background:
    linear-gradient(270deg,rgba(2,25,20,.06) 0%,rgba(2,25,20,.18) 54%,rgba(2,25,20,.52) 100%),
    linear-gradient(180deg,rgba(2,25,20,.04),rgba(2,25,20,.13));
}

.home-hero-glow{
  position:absolute;
  z-index:2;
  width:clamp(220px,30vw,460px);
  aspect-ratio:1;
  border-radius:50%;
  pointer-events:none;
  filter:blur(18px);
  opacity:.34;
  animation:academyHeroGlow 9s ease-in-out infinite alternate;
}

.home-hero-glow-one{
  top:-18%;
  inset-inline-end:-8%;
  background:radial-gradient(circle,rgba(27,151,112,.48),transparent 68%);
}

.home-hero-glow-two{
  bottom:-30%;
  inset-inline-start:16%;
  background:radial-gradient(circle,rgba(221,181,96,.30),transparent 68%);
  animation-delay:-4s;
}

.home-hero-layout{
  position:relative;
  z-index:3;
  display:grid;
  align-items:center;
  min-height:inherit;
  padding-top:clamp(44px,7vh,76px);
  padding-bottom:clamp(48px,7.5vh,84px);
}

.home-hero-content{
  position:relative;
  justify-self:start;
  width:min(39.5vw,540px);
  max-width:540px;
  min-width:0;
  min-height:0;
  height:auto;
  padding:clamp(22px,2.2vw,30px);
  border-radius:clamp(20px,2vw,28px);
  color:#fff;
  text-align:right;
  animation:academyHeroPanelIn .72s cubic-bezier(.2,.75,.25,1) both;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}

.home-hero-glass-panel{
  background:linear-gradient(90deg,rgba(4,38,30,.26),rgba(4,49,38,.34));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 14px 38px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.07);
}

body.en .home-hero-content{
  text-align:left;
}

body.en .home-hero-glass-panel{
  background:linear-gradient(270deg,rgba(4,38,30,.26),rgba(4,49,38,.34));
}

@supports ((backdrop-filter:blur(13px)) or (-webkit-backdrop-filter:blur(13px))){
  .home-hero-glass-panel{
    background:linear-gradient(90deg,rgba(4,38,30,.20),rgba(4,49,38,.28));
    backdrop-filter:blur(13px) saturate(108%);
    -webkit-backdrop-filter:blur(13px) saturate(108%);
  }

  body.en .home-hero-glass-panel{
    background:linear-gradient(270deg,rgba(4,38,30,.20),rgba(4,49,38,.28));
  }
}

.home-hero-content-plain{
  padding-inline:0;
  background:transparent;
  border:1px solid transparent;
  border-radius:0;
  box-shadow:none;
  text-shadow:0 2px 18px rgba(0,0,0,.38);
}

.home-hero-glass-panel:hover{
  transform:translateY(-1px);
  border-color:rgba(239,215,156,.20);
  box-shadow:0 17px 44px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.09);
}

.home-hero-eyebrow{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  margin-bottom:10px;
  color:#f2dca8;
  font-size:clamp(12px,1vw,14px);
  font-weight:800;
  letter-spacing:.02em;
  animation:academyHeroItemIn .55s .14s ease-out both;
}

.home-hero-eyebrow-mark{
  width:34px;
  height:2px;
  flex:0 0 34px;
  border-radius:999px;
  background:linear-gradient(90deg,#d8b76d,#f4e3b7);
  box-shadow:0 0 18px rgba(239,215,156,.34);
}

.home-hero-content h1{
  max-width:14ch;
  margin:0;
  margin-inline-end:auto;
  color:#fff;
  font-size:clamp(2.15rem,3vw,2.625rem);
  font-weight:900;
  line-height:1.4;
  letter-spacing:-.035em;
  text-wrap:balance;
  overflow-wrap:anywhere;
  animation:academyHeroItemIn .62s .22s ease-out both;
}

.home-hero-intro{
  max-width:52ch;
  margin:14px 0 0;
  margin-inline-end:auto;
  color:rgba(255,255,255,.84);
  font-size:clamp(.94rem,1vw,1.02rem);
  line-height:1.8;
  animation:academyHeroItemIn .62s .30s ease-out both;
}

.home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:12px;
  margin-top:18px;
  animation:academyHeroItemIn .62s .38s ease-out both;
}

@media (min-width:1280px){
  .home-hero-content{
    inset-inline-start:-30px;
  }
}

.home-hero-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:15px;
  font-weight:850;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,.16);
  transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease,border-color .22s ease;
}

.home-hero-cta-primary{
  background:linear-gradient(135deg,#e7c980,#cda655);
  color:#173b31;
}

.home-hero-cta-secondary{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.22);
  color:#fff;
}

.home-hero-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.22);
}

.home-hero-cta-primary:hover{
  color:#102e27;
}

.home-hero-cta-secondary:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(239,215,156,.38);
  color:#fff;
}

.home-hero-cta:focus-visible,
.home-hero-video-toggle:focus-visible{
  outline:3px solid #fff;
  outline-offset:4px;
}

.home-hero-cta-arrow{
  transition:transform .22s ease;
}

.home-hero-cta:hover .home-hero-cta-arrow{
  transform:translateX(-3px);
}

body.en .home-hero-cta:hover .home-hero-cta-arrow{
  transform:translateX(3px);
}

.home-hero-video-toggle{
  position:absolute;
  z-index:4;
  inset-inline-end:clamp(16px,3vw,42px);
  bottom:clamp(16px,3vw,34px);
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid rgba(255,255,255,.24);
  border-radius:15px;
  background:rgba(3,38,30,.74);
  color:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  cursor:pointer;
  transition:background-color .22s ease,border-color .22s ease,transform .22s ease;
}

@supports ((backdrop-filter:blur(14px)) or (-webkit-backdrop-filter:blur(14px))){
  .home-hero-video-toggle{
    background:rgba(3,38,30,.58);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
}

.home-hero-video-toggle:hover{
  background:rgba(3,38,30,.92);
  border-color:rgba(239,215,156,.46);
  transform:translateY(-2px);
}

.home-hero-video-toggle-icon{
  font-size:16px;
  line-height:1;
}

.home-hero-video-toggle .screen-reader-text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.feature-video-card .feature-showcase-poster{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.feature-video-card .feature-showcase-video{
  z-index:1;
}

.feature-video-card .feature-video-shade,
.feature-video-card .feature-video-label,
.feature-video-card .feature-video-subtitle{
  z-index:2;
}

@keyframes academyHeroPanelIn{
  from{opacity:0;transform:translateY(24px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@keyframes academyHeroItemIn{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes academyHeroGlow{
  from{transform:translate3d(0,0,0) scale(.96)}
  to{transform:translate3d(0,16px,0) scale(1.04)}
}

@media (max-width:1100px){
  .site-header .primary-menu > li > a{
    padding-inline:9px;
    font-size:13px;
  }

  .home-hero-content{
    width:min(500px,46vw);
  }
}

@media (max-width:980px){
  .site-header .top,
  .site-header.is-scrolled .top{
    min-height:74px!important;
    gap:10px;
    padding-top:7px;
    padding-bottom:7px;
  }

  .site-header .brand{
    max-width:calc(100% - 110px);
  }

  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:52px;
    height:52px;
    flex-basis:52px;
  }

  .site-header .brand-copy strong{
    font-size:clamp(16px,3.8vw,19px);
  }

  .site-header .brand-copy > span{
    max-width:34ch;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .site-header .header-actions{
    margin-inline-start:auto;
  }

  .site-header .primary-menu-toggle{
    display:block;
    flex:0 0 44px;
  }

  .site-header .primary-navigation{
    display:block;
    position:absolute;
    top:calc(100% + 1px);
    right:8px;
    left:8px;
    max-height:0;
    margin:0;
    overflow:hidden;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    border:1px solid rgba(239,215,156,.18);
    border-radius:0 0 20px 20px;
    background:rgba(3,38,30,.98);
    box-shadow:0 22px 44px rgba(0,0,0,.28);
    transition:max-height .28s ease,opacity .22s ease,visibility .22s ease;
  }

  @supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
    .site-header .primary-navigation{
      background:rgba(3,38,30,.92);
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
    }
  }

  .site-header .primary-navigation.is-open{
    max-height:calc(100svh - 92px);
    overflow-y:auto;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
  }

  .site-header .primary-menu{
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
    width:100%;
    padding:12px;
  }

  .site-header .primary-menu > li,
  .site-header .primary-menu > li > a{
    width:100%;
  }

  .site-header .primary-menu > li > a{
    justify-content:flex-start;
    padding:11px 13px;
    font-size:14px;
  }

  .site-header .primary-menu .sub-menu{
    position:static;
    width:100%;
    margin:3px 0 0;
    padding:4px 14px 7px;
    border:0;
    background:transparent;
    box-shadow:none;
  }


  body.academy-menu-open{
    overflow:hidden;
  }

  .home-hero-scene{
    min-height:clamp(620px,78svh,780px);
  }

  .home-hero-layout{
    padding-top:50px;
    padding-bottom:64px;
  }

  .home-hero-content{
    justify-self:center;
    width:min(620px,calc(100% - 36px));
  }

  .home-hero-content h1{
    font-size:clamp(1.95rem,6vw,3.1rem);
  }
}

@media (max-width:640px){
  .site-header .top,
  .site-header.is-scrolled .top{
    min-height:68px!important;
  }

  .site-header .brand{
    max-width:calc(100% - 104px);
    gap:8px;
  }

  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:46px;
    height:46px;
    flex-basis:46px;
  }

  .site-header .brand-copy strong{
    display:block;
    max-width:22ch;
    overflow:hidden;
    font-size:15px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .site-header .brand-copy > span{
    max-width:24ch;
    font-size:10.5px;
  }

  .site-header .lang{
    min-width:40px;
    min-height:38px;
    padding-inline:8px;
  }

  .site-header .primary-menu-toggle{
    width:40px;
    height:38px;
    flex-basis:40px;
    padding-inline:9px;
  }

  .home-hero-scene{
    min-height:clamp(600px,82svh,740px);
  }

  .home-hero-overlay,
  body.en .home-hero-overlay{
    background:linear-gradient(180deg,rgba(2,25,20,.16),rgba(2,25,20,.30) 45%,rgba(2,25,20,.64));
  }

  .home-hero-layout{
    align-items:end;
    width:calc(100% - 36px);
    padding-top:80px;
    padding-bottom:58px;
  }

  .home-hero-content{
    width:100%;
    max-width:none;
    padding:22px 16px;
    border-radius:24px;
  }

  .home-hero-glass-panel{
    background:linear-gradient(90deg,rgba(4,38,30,.35),rgba(4,49,38,.43));
  }

  body.en .home-hero-glass-panel{
    background:linear-gradient(270deg,rgba(4,38,30,.35),rgba(4,49,38,.43));
  }

  @supports ((backdrop-filter:blur(13px)) or (-webkit-backdrop-filter:blur(13px))){
    .home-hero-glass-panel{
      background:linear-gradient(90deg,rgba(4,38,30,.30),rgba(4,49,38,.36));
    }

    body.en .home-hero-glass-panel{
      background:linear-gradient(270deg,rgba(4,38,30,.30),rgba(4,49,38,.36));
    }
  }

  .home-hero-content-plain{
    padding-inline:0;
  }

  .home-hero-content h1{
    max-width:18ch;
    font-size:clamp(1.7rem,8.5vw,2.35rem);
    line-height:1.2;
  }

  .home-hero-eyebrow{
    margin-bottom:10px;
    font-size:11.5px;
  }

  .home-hero-eyebrow-mark{
    width:24px;
    flex-basis:24px;
  }

  .home-hero-intro{
    margin-top:14px;
    font-size:.93rem;
    line-height:1.86;
  }

  .home-hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:18px;
  }

  .home-hero-cta{
    width:100%;
    min-height:48px;
  }

  .home-hero-video-toggle{
    width:42px;
    height:42px;
    border-radius:13px;
  }
}

@media (prefers-reduced-motion:reduce){
  .site-header,
  .site-header .top,
  .site-header .brand img,
  .site-header .primary-menu > li > a,
  .site-header .primary-menu > li > a::after,
  .site-header .lang,
  .site-header .primary-navigation,
  .home-hero-content,
  .home-hero-eyebrow,
  .home-hero-content h1,
  .home-hero-intro,
  .home-hero-actions,
  .home-hero-glow,
  .home-hero-cta,
  .home-hero-video-toggle{
    animation:none!important;
    transition:none!important;
    transform:none!important;
  }

  .academy-managed-video{
    display:none!important;
  }

  .home-hero-video-toggle{
    display:none!important;
  }
}

/* Home Showcase 0.5.2: cinematic media frame with a compact glass caption. */
.home-page .home-stage9 .home-feature-showcase-secondary{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"copy" "video";
  align-items:start;
  gap:clamp(17px,2.1vw,24px);
  width:min(1160px,calc(100% - 44px));
  max-width:100%;
}

body.en .home-stage9 .home-feature-showcase-secondary{
  grid-template-areas:"copy" "video";
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-glass-copy{
  grid-area:copy;
  display:grid;
  grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);
  grid-template-areas:
    "kicker points"
    "intro points"
    "action points";
  align-items:center;
  column-gap:clamp(22px,3vw,38px);
  row-gap:10px;
  min-width:0;
  padding:clamp(21px,2.6vw,30px);
  border-radius:26px;
  text-align:start;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-kicker{
  grid-area:kicker;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-glass-copy > p{
  grid-area:intro;
  max-width:58ch;
  margin:0;
  font-size:13.5px;
  line-height:1.9;
  text-align:start;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-points{
  grid-area:points;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-self:stretch;
  margin:0;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-cta{
  grid-area:action;
  justify-self:start;
  margin-top:4px;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-card{
  grid-area:video;
  display:block;
  min-width:0;
  min-height:0;
  padding:11px;
  overflow:hidden;
  border:1px solid rgba(238,224,190,.2);
  border-radius:31px;
  background:linear-gradient(145deg,rgba(7,55,43,.62),rgba(5,39,32,.45));
  box-shadow:0 20px 46px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.07);
  box-sizing:border-box;
}

.home-page .home-stage9 .home-feature-showcase-secondary .stage9-video-media{
  position:relative;
  width:100%;
  max-width:100%;
  min-width:0;
  aspect-ratio:auto;
  overflow:hidden;
  border:0;
  border-radius:23px;
  background:#031d17;
  box-shadow:none;
}

.home-page .home-stage9 .home-feature-showcase-secondary .stage9-video-viewport{
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.17);
  border-radius:23px;
  background:#021611;
  box-sizing:border-box;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-showcase-poster,
.home-page .home-stage9 .home-feature-showcase-secondary .feature-showcase-video{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  transform:none;
  filter:none;
  background:#021611;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-overlay{
  position:absolute;
  z-index:3;
  inset-inline-start:clamp(16px,2vw,24px);
  bottom:clamp(72px,9vw,112px);
  width:min(430px,calc(46% - 24px));
  max-width:calc(100% - 32px);
  min-width:0;
  padding:clamp(14px,1.8vw,19px);
  border:1px solid rgba(255,255,255,.27);
  border-radius:20px;
  background:linear-gradient(140deg,rgba(3,42,32,.78),rgba(5,47,37,.6));
  box-shadow:0 13px 30px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.1);
  box-sizing:border-box;
  text-align:start;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-label,
.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-subtitle{
  position:static;
  inset:auto;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  text-align:start;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-label span{
  color:#f3dcaa;
  font-size:11.5px;
  font-weight:800;
  line-height:1.65;
  text-align:start;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-overlay h2{
  max-width:17ch;
  margin:7px 0 0;
  color:#fff!important;
  font-size:clamp(1.35rem,2.25vw,2rem);
  line-height:1.45;
  text-align:start;
  text-wrap:balance;
  overflow-wrap:anywhere;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-subtitle{
  margin-top:7px;
}

.home-page .home-stage9 .home-feature-showcase-secondary .feature-video-subtitle span{
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.72;
  text-align:start;
}

@supports ((backdrop-filter:blur(11px)) or (-webkit-backdrop-filter:blur(11px))){
  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-overlay{
    background:linear-gradient(140deg,rgba(3,42,32,.54),rgba(5,47,37,.32));
    -webkit-backdrop-filter:blur(11px) saturate(1.03);
    backdrop-filter:blur(11px) saturate(1.03);
  }
}

@media (hover:hover) and (pointer:fine){
  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-card:hover{
    transform:none;
    border-color:rgba(244,227,180,.27);
    box-shadow:0 22px 48px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08);
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-card:hover .feature-showcase-video,
  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-card:hover .feature-showcase-poster{
    transform:none;
  }
}

.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-frame"],
.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-copy"],
.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-overlay"]{
  transition:
    opacity .45s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms),
    transform .45s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms);
}

.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-frame"]:not(.is-stage9-revealed),
.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-copy"]:not(.is-stage9-revealed),
.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-overlay"]:not(.is-stage9-revealed){
  opacity:0;
  transform:translate3d(0,12px,0);
}

.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-frame"].is-stage9-revealed,
.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-copy"].is-stage9-revealed,
.home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-overlay"].is-stage9-revealed{
  opacity:1;
}

@media (max-width:820px){
  .home-page .home-stage9 .home-feature-showcase-secondary .feature-glass-copy{
    grid-template-columns:1fr;
    grid-template-areas:"kicker" "intro" "points" "action";
    gap:13px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-points{
    margin-top:2px;
  }
}

@media (max-width:640px){
  .home-page .home-stage9 .home-feature-showcase-secondary{
    width:calc(100% - 28px);
    max-width:100%;
    gap:14px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-glass-copy{
    padding:18px 15px;
    border-radius:21px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-points{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-card{
    padding:8px;
    border-radius:22px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .stage9-video-media{
    overflow:visible;
    border-radius:17px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .stage9-video-viewport{
    border-radius:17px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-overlay{
    position:relative;
    inset:auto;
    width:auto;
    max-width:none;
    margin:8px 0 0;
    padding:13px;
    border-radius:16px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-video-overlay h2{
    max-width:none;
    font-size:clamp(1.22rem,6vw,1.55rem);
  }

  .home-page .home-stage9 .home-feature-showcase-secondary .feature-cta{
    width:100%;
  }
}

@media (prefers-reduced-motion:reduce){
  .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-frame"],
  .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-copy"],
  .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-overlay"],
  .academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-frame"],
  .academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-copy"],
  .academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-overlay"]{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}

.academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-frame"],
.academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-copy"],
.academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-feature-showcase-secondary [data-stage9-reveal="showcase-overlay"]{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}

/* Home materials 0.5.1: image-led cards with lightweight glass overlays. */
.home-page .home-stage9 .home-materials-v2 .materials-feature-grid-v2{
  gap:clamp(16px,2vw,24px);
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-card{
  position:relative;
  min-height:0;
  padding:0;
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgba(238,224,190,.2);
  border-radius:28px;
  background:rgba(4,39,30,.58);
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-card .material-visual-pair{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  gap:0;
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-card .material-visual-pair figure{
  min-width:0;
  min-height:0;
  margin:0;
  overflow:hidden;
  border-radius:0;
  box-shadow:none;
}

.home-page .home-stage9 .home-materials-v2 .vita-pair .visual-large,
.home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:first-child{
  width:100%;
  aspect-ratio:16/11;
  border:0;
  background:#d9e2de;
}

.home-page .home-stage9 .home-materials-v2 .vita-pair .visual-large img,
.home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:first-child img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.001);
  transition:transform .3s ease;
}

.home-page .home-stage9 .home-materials-v2 .vita-pair .visual-product,
.home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:last-child{
  position:absolute;
  z-index:3;
  top:15px;
  inset-inline-end:15px;
  width:clamp(88px,23%,116px);
  aspect-ratio:1;
  padding:7px;
  border:1px solid rgba(255,255,255,.64);
  border-radius:18px;
  background:rgba(255,255,255,.91);
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}

.home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:last-child{
  aspect-ratio:4/3;
  padding:0;
  background:#e6ece9;
}

.home-page .home-stage9 .home-materials-v2 .vita-pair .visual-product img{
  object-fit:contain;
}

.home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:last-child img{
  object-fit:cover;
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-head{
  position:absolute;
  z-index:4;
  inset-inline-start:15px;
  bottom:15px;
  display:flex;
  align-items:flex-start;
  width:min(calc(100% - 30px),410px);
  min-width:0;
  gap:11px;
  margin:0;
  padding:14px;
  text-align:start;
  border:1px solid rgba(255,255,255,.28);
  border-radius:19px;
  background:linear-gradient(135deg,rgba(3,42,32,.76),rgba(5,47,37,.6));
  box-shadow:0 13px 30px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.11);
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-head > div{
  min-width:0;
}

.home-page .home-stage9 .home-materials-v2 .material-index{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:12px;
  color:#f7e4b5;
  background:rgba(244,220,162,.14);
  border-color:rgba(244,220,162,.24);
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-head h3{
  margin:0;
  color:#fff4d4!important;
  font-size:clamp(1rem,1.45vw,1.18rem);
  line-height:1.5;
  text-align:start;
}

.home-page .home-stage9 .home-materials-v2 .material-showcase-head p{
  display:-webkit-box;
  margin:4px 0 0;
  overflow:hidden;
  color:rgba(255,255,255,.85)!important;
  font-size:12.5px;
  line-height:1.72;
  text-align:start;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.home-page .home-stage9 .home-materials-v2 .materials-mini-grid-v2{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(13px,1.65vw,19px);
}

.home-page .home-stage9 .home-materials-v2 .material-mini-card,
.home-page .home-stage9 .home-materials-v2 .material-mini-card-wide{
  position:relative;
  grid-column:span 1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:clamp(13px,1.7vw,18px);
  min-width:0;
  min-height:154px;
  height:100%;
  padding:clamp(18px,2vw,23px);
  overflow:visible;
  border:1px solid rgba(238,224,190,.2);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(7,55,43,.74),rgba(5,39,32,.6));
  box-shadow:0 14px 32px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.07);
  text-align:start;
}

.home-page .home-stage9 .home-materials-v2 .material-mini-marker{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:48px;
}

.home-page .home-stage9 .home-materials-v2 .mini-badge{
  position:static;
  inset:auto;
  display:grid;
  width:31px;
  height:31px;
  margin:0;
  border-radius:11px;
  color:#f7e4b5;
  background:rgba(244,220,162,.13);
  border-color:rgba(244,220,162,.23);
}

.home-page .home-stage9 .home-materials-v2 .material-info-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  color:#f4ddb0;
  border:1px solid rgba(244,222,174,.18);
  border-radius:15px;
  background:rgba(255,255,255,.055);
  box-shadow:0 8px 18px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.08);
}

.home-page .home-stage9 .home-materials-v2 .material-info-icon svg{
  display:block;
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.home-page .home-stage9 .home-materials-v2 .material-mini-content{
  min-width:0;
}

.home-page .home-stage9 .home-materials-v2 .material-mini-card h4,
.home-page .home-stage9 .home-materials-v2 .material-mini-card p{
  min-width:0;
  text-align:start;
  overflow-wrap:anywhere;
}

.home-page .home-stage9 .home-materials-v2 .material-mini-card h4{
  display:block;
  margin:1px 0 7px;
  padding:0;
  overflow:visible;
  color:#fff1cb!important;
  font-size:clamp(.98rem,1.25vw,1.08rem);
  line-height:1.55;
}

.home-page .home-stage9 .home-materials-v2 .material-mini-card p{
  display:block;
  margin:0;
  overflow:visible;
  color:rgba(255,255,255,.82)!important;
  font-size:12.75px;
  line-height:1.82;
}

@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
  .home-page .home-stage9 .home-materials-v2 .material-showcase-head{
    background:linear-gradient(135deg,rgba(3,42,32,.54),rgba(5,47,37,.3));
    -webkit-backdrop-filter:blur(12px) saturate(1.04);
    backdrop-filter:blur(12px) saturate(1.04);
  }

  .home-page .home-stage9 .home-materials-v2 .material-mini-card,
  .home-page .home-stage9 .home-materials-v2 .material-mini-card-wide{
    background:linear-gradient(145deg,rgba(7,55,43,.49),rgba(5,39,32,.34));
    -webkit-backdrop-filter:blur(9px) saturate(1.03);
    backdrop-filter:blur(9px) saturate(1.03);
  }
}

@media (hover:hover) and (pointer:fine){
  .home-page .home-stage9 .home-materials-v2 .material-mini-card:hover{
    transform:translateY(-3px);
    border-color:rgba(244,227,180,.29);
    box-shadow:0 18px 38px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.09);
  }

  .home-page .home-stage9 .home-materials-v2 .material-showcase-card:hover .material-visual-pair img{
    transform:none;
  }

  .home-page .home-stage9 .home-materials-v2 .material-showcase-card:hover .vita-pair .visual-large img,
  .home-page .home-stage9 .home-materials-v2 .material-showcase-card:hover .ivoclar-pair .visual-half:first-child img{
    transform:scale(1.018);
  }
}

.home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-card"]{
  transition:
    opacity .46s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms),
    transform .46s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms);
}

.home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-card"]:not(.is-stage9-revealed){
  opacity:0;
  transform:translate3d(0,14px,0);
}

.home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-card"].is-stage9-revealed{
  opacity:1;
}

.home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-info-card"]{
  transition:
    opacity .44s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms),
    transform .44s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms),
    border-color .22s ease,
    box-shadow .22s ease;
}

.home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-info-card"]:not(.is-stage9-revealed){
  opacity:0;
  transform:translate3d(0,11px,0);
}

.home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-info-card"].is-stage9-revealed{
  opacity:1;
}

@media (max-width:980px){
  .home-page .home-stage9 .home-materials-v2 .materials-mini-grid-v2{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px){
  .home-page .home-stage9 .home-materials-v2 .material-showcase-card{
    border-radius:22px;
  }

  .home-page .home-stage9 .home-materials-v2 .vita-pair .visual-large,
  .home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:first-child{
    aspect-ratio:4/3;
  }

  .home-page .home-stage9 .home-materials-v2 .vita-pair .visual-product,
  .home-page .home-stage9 .home-materials-v2 .ivoclar-pair .visual-half:last-child{
    top:10px;
    inset-inline-end:10px;
    width:76px;
    border-radius:14px;
  }

  .home-page .home-stage9 .home-materials-v2 .material-showcase-head{
    inset-inline:10px;
    bottom:10px;
    width:auto;
    gap:9px;
    padding:11px;
    border-radius:16px;
  }

  .home-page .home-stage9 .home-materials-v2 .material-index{
    width:31px;
    height:31px;
    flex-basis:31px;
    border-radius:10px;
  }

  .home-page .home-stage9 .home-materials-v2 .material-showcase-head h3{
    font-size:.98rem;
  }

  .home-page .home-stage9 .home-materials-v2 .material-showcase-head p{
    font-size:11.75px;
    line-height:1.62;
  }

  .home-page .home-stage9 .home-materials-v2 .materials-mini-grid-v2{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .home-materials-v2 .material-mini-card,
  .home-page .home-stage9 .home-materials-v2 .material-mini-card-wide{
    grid-column:span 1;
    min-height:0;
    height:auto;
    padding:17px 15px;
    border-radius:21px;
  }
}

@media (prefers-reduced-motion:reduce){
  .home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-card"],
  .academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-card"],
  .home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-info-card"],
  .academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-info-card"]{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}

.academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-card"],
.academy-reduced-motion .home-page .home-stage9.is-stage9-ready .home-materials-v2 [data-stage9-reveal="material-info-card"]{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}

html.academy-reduced-motion .academy-managed-video,
html.academy-reduced-motion .home-hero-video-toggle{
  display:none!important;
}

/* --- WordPress theme integration (stage 2) --- */
.brand > .brand-copy{
  margin:0;
  color:inherit;
  font-size:inherit;
  text-align:inherit;
}

.primary-menu,
.footer-menu{
  display:flex;
  align-items:center;
  gap:20px;
  margin:0;
  padding:0;
  list-style:none;
}

.primary-menu .sub-menu{
  margin:0;
  padding:10px;
  list-style:none;
}

.footer-navigation{
  font-size:13px;
}

.footer-menu{
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

.site-content{
  padding-block:64px;
}

.content-list{
  display:grid;
  gap:24px;
}

.content-card{
  padding:clamp(24px,4vw,48px);
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--paper);
  box-shadow:var(--shadow);
}

.content-thumbnail img,
.entry-content img{
  max-width:100%;
  height:auto;
}

.navigation.pagination .nav-links,
.page-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

@media (max-width:980px){
  .primary-menu{
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 14px;
  }

  .footer-inner{
    flex-wrap:wrap;
    justify-content:center;
  }
}


/* --- Home v5: second promotional video section --- */
.home-feature-showcase{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:24px;
  align-items:stretch;
  padding-top:32px;
  padding-bottom:36px;
}
.feature-video-card{
  position:relative;
  order:1;
  min-height:430px;
  overflow:hidden;
  border-radius:30px;
  background:#f0efec;
  border:1px solid rgba(234,216,182,.20);
  box-shadow:0 22px 50px rgba(0,0,0,.18);
}
.feature-showcase-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
  background:#eee;
}
.feature-video-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(5,38,30,.08),transparent 48%,rgba(4,31,24,.24)),
    radial-gradient(circle at 85% 15%,rgba(189,152,82,.10),transparent 28%);
  pointer-events:none;
}
.feature-video-label{
  position:absolute;
  z-index:2;
  right:18px;
  bottom:18px;
  max-width:72%;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(4,31,24,.46);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#fff;
  font-size:13px;
  font-weight:800;
}
.feature-glass-copy{
  order:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.065));
  border:1px solid rgba(234,216,182,.18);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 44px rgba(0,0,0,.14);
}
.feature-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  color:#efd79c;
  font-size:14px;
}
.feature-kicker span{
  width:34px;
  height:2px;
  border-radius:999px;
  background:#efd79c;
}
.feature-glass-copy h2{
  margin:16px 0 0;
  color:#fff;
  font-size:clamp(1.75rem,2.7vw,2.8rem);
  line-height:1.45;
}
.feature-glass-copy > p{
  margin:18px 0 0;
  color:rgba(255,255,255,.84);
  font-size:15px;
  line-height:2;
}
.feature-points{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:22px;
}
.feature-points div{
  padding:14px;
  border-radius:17px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
}
.feature-points strong{
  display:block;
  color:#f2dca8;
  font-size:14px;
}
.feature-points span{
  display:block;
  margin-top:5px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.7;
}
.feature-cta{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:22px;
  padding:11px 17px;
  border-radius:999px;
  color:#123d31;
  background:linear-gradient(135deg,#f0d796,#d8b666);
  font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}
body.en .feature-video-card{order:2}
body.en .feature-glass-copy{order:1}

@media(max-width:980px){
  .home-feature-showcase{
    grid-template-columns:1fr;
    gap:14px;
    padding-top:22px;
    padding-bottom:28px;
  }
  .feature-video-card,
  .feature-glass-copy,
  body.en .feature-video-card,
  body.en .feature-glass-copy{
    order:initial;
  }
  .feature-video-card{
    min-height:420px;
    border-radius:24px;
  }
  .feature-glass-copy{
    padding:24px 22px;
    border-radius:24px;
  }
}
@media(max-width:640px){
  .home-feature-showcase{
    width:calc(100% - 14px);
    padding-top:18px;
    padding-bottom:22px;
  }
  .feature-video-card{
    min-height:310px;
    border-radius:20px;
  }
  .feature-video-label{
    right:10px;
    bottom:10px;
    max-width:calc(100% - 20px);
    font-size:11.5px;
    padding:8px 11px;
  }
  .feature-glass-copy{
    padding:20px 15px;
    border-radius:20px;
  }
  .feature-glass-copy h2{
    font-size:1.62rem;
  }
  .feature-glass-copy > p{
    font-size:.94rem;
    line-height:1.82;
  }
  .feature-points{
    grid-template-columns:1fr;
    gap:9px;
  }
}
@media(prefers-reduced-motion:reduce){
  .feature-showcase-video{
    animation:none;
  }
}


/* --- Home v6: feature video Persian subtitle + premium materials section --- */
.feature-video-card{
  overflow:hidden;
}
.feature-video-label{
  top:18px;
  right:18px;
  bottom:auto;
  max-width:fit-content;
  background:rgba(4,31,24,.48);
  color:#f3dfb2;
}
.feature-video-subtitle{
  position:absolute;
  right:18px;
  left:18px;
  bottom:18px;
  z-index:2;
  padding:11px 16px;
  border-radius:18px;
  background:rgba(4,31,24,.62);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.feature-video-subtitle span{
  display:block;
  color:#fff;
  font-size:14px;
  line-height:1.9;
  text-align:center;
}

.home-materials{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,.98fr) minmax(360px,1.02fr);
  gap:24px;
  align-items:center;
  padding-top:8px;
  padding-bottom:48px;
}
.materials-copy-home{
  order:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.065));
  border:1px solid rgba(234,216,182,.18);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 44px rgba(0,0,0,.14);
}
.materials-kicker-home{
  display:flex;
  align-items:center;
  gap:10px;
  color:#efd79c;
  font-size:14px;
}
.materials-kicker-home span{
  width:34px;
  height:2px;
  border-radius:999px;
  background:#efd79c;
}
.materials-copy-home h2{
  margin:16px 0 0;
  color:#fff;
  font-size:clamp(1.75rem,2.7vw,2.8rem);
  line-height:1.45;
}
.materials-copy-home > p{
  margin:18px 0 0;
  color:rgba(255,255,255,.84);
  font-size:15px;
  line-height:2;
}
.materials-grid-home{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:22px;
}
.material-card-home{
  position:relative;
  padding:18px 18px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
}
.material-badge-home{
  position:absolute;
  top:14px;
  left:14px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(239,215,156,.16);
  color:#f2dca8;
  font-size:12px;
  font-weight:900;
}
.material-card-home h3{
  margin:0 0 8px;
  color:#f2dca8;
  font-size:18px;
  letter-spacing:.02em;
}
.material-card-home p{
  margin:0;
  color:rgba(255,255,255,.76);
  font-size:13px;
  line-height:1.9;
}
.materials-note-home{
  margin-top:18px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px dashed rgba(239,215,156,.22);
  color:rgba(255,255,255,.8);
  line-height:1.9;
}
.materials-note-home strong{
  color:#f2dca8;
  margin-left:6px;
}
.materials-note-home span{
  font-size:13px;
}
.materials-visual-home{
  order:1;
}
.materials-mosaic-home{
  position:relative;
  min-height:680px;
  border-radius:32px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(234,216,182,.16);
  padding:18px;
  overflow:hidden;
  box-shadow:0 22px 50px rgba(0,0,0,.18);
}
.material-photo,
.material-product-home{
  position:absolute;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 34px rgba(0,0,0,.16);
}
.material-photo img,
.material-product-home img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.material-photo-main{
  right:18px;
  top:18px;
  width:70%;
  height:300px;
}
.material-photo-small-a{
  left:18px;
  top:40px;
  width:36%;
  height:190px;
}
.material-photo-small-b{
  left:34px;
  top:250px;
  width:40%;
  height:180px;
}
.material-photo-wide{
  right:32px;
  bottom:34px;
  width:76%;
  height:220px;
}
.material-product-home{
  left:58px;
  bottom:68px;
  width:135px;
  height:135px;
  border-radius:22px;
  padding:12px;
  display:grid;
  place-items:center;
}
.material-product-home img{
  object-fit:contain;
}

body.en .materials-copy-home{order:1}
body.en .materials-visual-home{order:2}

@media(max-width:980px){
  .feature-video-label{
    top:14px;
    right:14px;
    left:14px;
    max-width:none;
    text-align:center;
  }
  .feature-video-subtitle{
    right:14px;
    left:14px;
    bottom:14px;
    padding:10px 12px;
  }
  .feature-video-subtitle span{
    font-size:12.5px;
    line-height:1.75;
  }
  .home-materials{
    grid-template-columns:1fr;
    gap:14px;
    padding-bottom:30px;
  }
  .materials-copy-home,
  .materials-visual-home,
  body.en .materials-copy-home,
  body.en .materials-visual-home{
    order:initial;
  }
  .materials-copy-home{
    padding:24px 22px;
    border-radius:24px;
  }
  .materials-mosaic-home{
    min-height:620px;
    border-radius:24px;
  }
  .material-photo-main{
    width:68%;
    height:270px;
  }
  .material-photo-small-a{
    width:38%;
    height:170px;
  }
  .material-photo-small-b{
    width:41%;
    height:165px;
    top:224px;
  }
  .material-photo-wide{
    width:78%;
    height:200px;
    right:24px;
    bottom:26px;
  }
  .material-product-home{
    left:36px;
    bottom:48px;
    width:122px;
    height:122px;
  }
}
@media(max-width:640px){
  .feature-video-label{
    font-size:11px;
    padding:8px 10px;
  }
  .feature-video-subtitle{
    right:10px;
    left:10px;
    bottom:10px;
    padding:9px 10px;
    border-radius:14px;
  }
  .feature-video-subtitle span{
    font-size:11px;
    line-height:1.7;
  }
  .home-materials{
    width:calc(100% - 14px);
    padding-bottom:22px;
  }
  .materials-copy-home{
    padding:20px 15px;
    border-radius:20px;
  }
  .materials-copy-home h2{
    font-size:1.62rem;
  }
  .materials-copy-home > p{
    font-size:.94rem;
    line-height:1.82;
  }
  .materials-mosaic-home{
    min-height:470px;
    padding:12px;
    border-radius:20px;
  }
  .material-photo-main{
    right:12px;
    top:12px;
    width:68%;
    height:185px;
    border-radius:18px;
  }
  .material-photo-small-a{
    left:12px;
    top:22px;
    width:39%;
    height:118px;
    border-radius:16px;
  }
  .material-photo-small-b{
    left:20px;
    top:150px;
    width:43%;
    height:110px;
    border-radius:16px;
  }
  .material-photo-wide{
    right:18px;
    bottom:18px;
    width:82%;
    height:150px;
    border-radius:18px;
  }
  .material-product-home{
    left:20px;
    bottom:28px;
    width:88px;
    height:88px;
    border-radius:16px;
    padding:8px;
  }
}


/* --- Home v7: material cards redesign --- */
.home-materials-v2{
  display:block;
  padding-top:8px;
  padding-bottom:52px;
}
.home-materials-v2 .materials-intro-v2{
  max-width:880px;
  margin:0 auto 22px;
  text-align:center;
  padding:28px 28px 24px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border:1px solid rgba(234,216,182,.17);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 44px rgba(0,0,0,.12);
}
.home-materials-v2 .materials-kicker-v2{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#efd79c;
  font-size:14px;
}
.home-materials-v2 .materials-kicker-v2 span{
  width:34px;height:2px;border-radius:999px;background:#efd79c;
}
.home-materials-v2 h2{
  margin:14px 0 0;
  color:#fff;
  font-size:clamp(1.8rem, 2.8vw, 2.95rem);
  line-height:1.45;
}
.home-materials-v2 .materials-intro-v2 > p{
  margin:16px auto 0;
  max-width:64ch;
  color:rgba(255,255,255,.85);
  font-size:15px;
  line-height:2;
}
.materials-feature-grid-v2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:6px;
}
.material-showcase-card{
  padding:22px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.065));
  border:1px solid rgba(234,216,182,.17);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 44px rgba(0,0,0,.12);
}
.material-showcase-head{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin-bottom:16px;
}
.material-index{
  flex:0 0 auto;
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(239,215,156,.18);
  color:#f2dca8;
  font-size:12px;font-weight:900;
}
.material-showcase-head h3{
  margin:0;
  color:#f2dca8;
  font-size:1.18rem;
}
.material-showcase-head p{
  margin:6px 0 0;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.9;
}
.material-visual-pair{
  display:grid;
  gap:14px;
  align-items:stretch;
}
.vita-pair{ grid-template-columns:minmax(0,1fr) 160px; }
.ivoclar-pair{ grid-template-columns:1fr 1fr; }
.material-visual-pair figure{
  margin:0;
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 30px rgba(0,0,0,.14);
}
.material-visual-pair img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.vita-pair .visual-large{ min-height:270px; }
.vita-pair .visual-product{ min-height:270px; padding:16px; display:grid; place-items:center; }
.vita-pair .visual-product img{ object-fit:contain; }
.ivoclar-pair .visual-half{ min-height:270px; }
.materials-mini-grid-v2{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:22px;
}
.material-mini-card{
  position:relative;
  min-height:170px;
  padding:20px 18px 18px;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 14px 30px rgba(0,0,0,.10);
}
.material-mini-card-wide{ grid-column:span 3; min-height:auto; }
.mini-badge{
  position:absolute; top:14px; left:14px;
  width:32px;height:32px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(239,215,156,.18);
  color:#f2dca8; font-size:11px; font-weight:900;
}
.material-mini-card h4{
  margin:0 0 8px;
  padding-left:22px;
  color:#f2dca8;
  font-size:1rem;
}
.material-mini-card p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.9;
}
body.en .material-showcase-head{ flex-direction:row; }
@media (max-width:980px){
  .materials-feature-grid-v2{ grid-template-columns:1fr; }
  .materials-mini-grid-v2{ grid-template-columns:1fr 1fr; }
  .material-mini-card-wide{ grid-column:span 2; }
  .vita-pair{ grid-template-columns:minmax(0,1fr) 140px; }
}
@media (max-width:640px){
  .home-materials-v2{ width:calc(100% - 14px); padding-bottom:24px; }
  .home-materials-v2 .materials-intro-v2{ padding:20px 15px 18px; border-radius:20px; }
  .home-materials-v2 h2{ font-size:1.62rem; }
  .home-materials-v2 .materials-intro-v2 > p{ font-size:.94rem; line-height:1.82; }
  .material-showcase-card{ padding:16px; border-radius:20px; }
  .material-showcase-head h3{ font-size:1.02rem; }
  .material-showcase-head p{ font-size:12px; line-height:1.75; }
  .vita-pair{ grid-template-columns:1fr 98px; gap:10px; }
  .vita-pair .visual-large, .vita-pair .visual-product{ min-height:150px; }
  .ivoclar-pair{ gap:10px; }
  .ivoclar-pair .visual-half{ min-height:155px; }
  .material-visual-pair figure{ border-radius:16px; }
  .vita-pair .visual-product{ padding:8px; }
  .materials-mini-grid-v2{ grid-template-columns:1fr; gap:12px; }
  .material-mini-card, .material-mini-card-wide{ grid-column:span 1; min-height:auto; }
  .material-mini-card{ padding:18px 14px 16px; border-radius:18px; }
  .material-mini-card h4{ padding-left:18px; font-size:.98rem; }
  .material-mini-card p{ font-size:12.5px; line-height:1.8; }
}


/* --- Home v8: swapped videos + unified glass language --- */
.home-v8-shell{
  padding-bottom:14px;
  background:
    radial-gradient(circle at 18% 10%, rgba(229,193,117,.13), transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(33,140,106,.18), transparent 28%),
    linear-gradient(180deg, #08392e 0%, #0b5040 58%, #0a4336 100%);
}
.hero-video-stage-v8{ position:relative; }
.hero-video-stage-v8 .hero-bg-video{ object-position:center center; }
.hero-video-badge-v8{ background:rgba(4,31,24,.42); border-color:rgba(244,227,180,.24); color:#f3dfb2; }
.hero-video-subcaption{
  position:absolute; right:20px; left:20px; bottom:20px; z-index:2; padding:12px 16px; border-radius:18px;
  background:rgba(4,31,24,.60); border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.hero-video-subcaption span{ display:block; color:#fff; font-size:14px; line-height:1.9; text-align:center; }
.hero-video-copy-v8,
.home-materials-v2 .materials-intro-v2,
.material-showcase-card,
.material-mini-card,
.home-feature-showcase-secondary .feature-glass-copy,
.home-feature-showcase-secondary .feature-video-card,
.home-feature-showcase-secondary .feature-video-subtitle,
.home-feature-showcase-secondary .feature-video-label{
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
}
.hero-video-copy-v8{ background:linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.06)); border:1px solid rgba(234,216,182,.18); box-shadow:0 18px 42px rgba(0,0,0,.15); }
.hero-video-title-v8{ font-size:clamp(1.95rem, 3.7vw, 3.35rem); }
.hero-video-description-v8{ max-width:66ch; }
.glass-proof-v8{ background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045)); border:1px solid rgba(234,216,182,.16); box-shadow:0 14px 34px rgba(0,0,0,.12); }
.home-materials-v2{ position:relative; z-index:2; padding-top:6px; }
.home-materials-v2 .materials-intro-v2,
.material-showcase-card,
.material-mini-card{ background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); border:1px solid rgba(234,216,182,.16); box-shadow:0 16px 38px rgba(0,0,0,.12); }
.material-visual-pair figure{ border:1px solid rgba(255,255,255,.35); }
.home-feature-showcase-secondary{
  position:relative; z-index:2; margin-top:0; margin-bottom:44px; display:grid; grid-template-columns:minmax(360px,.95fr) minmax(0,1.05fr); gap:22px; align-items:stretch;
}
.home-feature-showcase-secondary .feature-video-card{
  min-height:380px; border-radius:30px; background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); border:1px solid rgba(234,216,182,.16); box-shadow:0 18px 42px rgba(0,0,0,.15);
}
.home-feature-showcase-secondary .feature-glass-copy{ padding:32px; border-radius:30px; background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); border:1px solid rgba(234,216,182,.16); }
.home-feature-showcase-secondary .feature-glass-copy h2{ line-height:1.45; }
.home-feature-showcase-secondary .feature-video-label{ top:16px; right:16px; bottom:auto; max-width:fit-content; background:rgba(4,31,24,.48); color:#f3dfb2; }
.home-feature-showcase-secondary .feature-video-subtitle{ right:16px; left:16px; bottom:16px; background:rgba(4,31,24,.60); }
.home-feature-showcase-secondary .feature-video-subtitle span{ text-align:center; }
.home-feature-showcase-secondary .feature-kicker{ color:#efd79c; }
.home-feature-showcase-secondary .feature-glass-copy h2{ color:#fff; }
.home-feature-showcase-secondary .feature-glass-copy > p{ color:rgba(255,255,255,.84); }
.home-feature-showcase-secondary .feature-points div{ background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.10); }
.home-feature-showcase-secondary .feature-points strong{ color:#f2dca8; }
.home-feature-showcase-secondary .feature-points span{ color:rgba(255,255,255,.72); }

@media (max-width:980px){
  .hero-video-subcaption{ right:14px; left:14px; bottom:14px; padding:10px 12px; }
  .hero-video-subcaption span{ font-size:12.5px; line-height:1.75; }
  .home-feature-showcase-secondary{ grid-template-columns:1fr; gap:14px; margin-bottom:28px; }
  .home-feature-showcase-secondary .feature-video-card,
  .home-feature-showcase-secondary .feature-glass-copy,
  body.en .home-feature-showcase-secondary .feature-video-card,
  body.en .home-feature-showcase-secondary .feature-glass-copy{ order:initial; }
}
@media (max-width:640px){
  .hero-video-subcaption{ right:10px; left:10px; bottom:10px; padding:9px 10px; border-radius:14px; }
  .hero-video-subcaption span{ font-size:11px; line-height:1.7; }
  .hero-video-title-v8{ font-size:clamp(1.45rem, 6.8vw, 2.05rem); }
  .home-feature-showcase-secondary{ width:calc(100% - 14px); margin-bottom:22px; }
  .home-feature-showcase-secondary .feature-video-card{ min-height:300px; border-radius:20px; }
  .home-feature-showcase-secondary .feature-glass-copy{ padding:20px 15px; border-radius:20px; }
  .home-feature-showcase-secondary .feature-video-label{ font-size:11px; padding:8px 10px; top:10px; right:10px; left:10px; max-width:none; text-align:center; }
  .home-feature-showcase-secondary .feature-video-subtitle{ right:10px; left:10px; bottom:10px; padding:9px 10px; border-radius:14px; }
}




/* --- v8.1 emergency readability fix ---
   The materials and secondary-video sections were moved outside the dark Hero
   container, so transparent glass cards were sitting on a light page background.
   This restores one continuous dark-green glass system across the whole Home page.
*/

.home-page .page-shell{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 16%, rgba(229,193,117,.13), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(27,143,108,.16), transparent 30%),
    linear-gradient(180deg,#08392e 0%,#0b5040 38%,#0a4336 72%,#07372d 100%);
}

.home-page .page-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.11;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:4px 4px;
}

.home-page .home-v8-shell,
.home-page .home-materials-v2,
.home-page .home-feature-showcase-secondary{
  position:relative;
  z-index:1;
}

/* Materials: true dark glass, not white-on-white */
.home-page .home-materials-v2 .materials-intro-v2,
.home-page .material-showcase-card,
.home-page .material-mini-card{
  background:
    linear-gradient(180deg,rgba(5,45,35,.72),rgba(4,35,28,.50));
  border:1px solid rgba(239,215,156,.18);
  box-shadow:0 18px 44px rgba(0,0,0,.22);
  color:#fff;
}

.home-page .home-materials-v2 .materials-intro-v2 h2,
.home-page .material-showcase-card h3,
.home-page .material-mini-card h4{
  color:#f2dca8 !important;
}

.home-page .home-materials-v2 .materials-intro-v2 > p,
.home-page .material-showcase-head p,
.home-page .material-mini-card p{
  color:rgba(255,255,255,.84) !important;
}

.home-page .material-index,
.home-page .mini-badge{
  color:#f4dfad;
  background:rgba(239,215,156,.16);
  border:1px solid rgba(239,215,156,.14);
}

.home-page .material-visual-pair figure{
  background:#fff;
  border:1px solid rgba(255,255,255,.42);
  box-shadow:0 16px 32px rgba(0,0,0,.22);
}

/* Secondary video/text section: readable dark glass */
.home-page .home-feature-showcase-secondary .feature-video-card,
.home-page .home-feature-showcase-secondary .feature-glass-copy{
  background:
    linear-gradient(180deg,rgba(5,45,35,.72),rgba(4,35,28,.50));
  border:1px solid rgba(239,215,156,.18);
  box-shadow:0 18px 44px rgba(0,0,0,.22);
}

.home-page .home-feature-showcase-secondary .feature-glass-copy h2{
  color:#fff !important;
}

.home-page .home-feature-showcase-secondary .feature-glass-copy > p{
  color:rgba(255,255,255,.84) !important;
}

.home-page .home-feature-showcase-secondary .feature-points div{
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.11);
}

.home-page .home-feature-showcase-secondary .feature-points strong{
  color:#f2dca8 !important;
}

.home-page .home-feature-showcase-secondary .feature-points span{
  color:rgba(255,255,255,.76) !important;
}

/* Keep spacing and transitions visually continuous */
.home-page .home-materials-v2{
  padding-top:28px;
}

.home-page .home-feature-showcase-secondary{
  padding-top:12px;
}

.home-page .home-materials-v2,
.home-page .home-feature-showcase-secondary{
  margin-top:0;
}

@media (max-width:640px){
  .home-page .home-materials-v2{
    padding-top:18px;
  }

  .home-page .home-materials-v2 .materials-intro-v2,
  .home-page .material-showcase-card,
  .home-page .material-mini-card,
  .home-page .home-feature-showcase-secondary .feature-video-card,
  .home-page .home-feature-showcase-secondary .feature-glass-copy{
    background:
      linear-gradient(180deg,rgba(5,45,35,.82),rgba(4,35,28,.62));
  }
}

/* --- Stage 3: internal pages and managed content --- */
.internal-page-main{
  min-height:60vh;
}

.page-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding-top:28px;
  color:var(--muted);
  font-size:13px;
}

.page-breadcrumb a{
  color:var(--green);
  font-weight:800;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible{
  color:var(--gold);
}

.internal-page-head{
  align-items:start;
}

.page-title{
  margin:10px 0 0;
  color:var(--green-dark);
  font-size:clamp(30px,4.5vw,56px);
  line-height:1.18;
}

.service-card h2,
.case-card h2{
  margin:0 0 12px;
  color:var(--green-dark);
  font-size:21px;
  line-height:1.45;
}

.managed-content-card{
  height:100%;
}

.managed-card-thumbnail{
  display:block;
  margin:-4px -4px 20px;
  overflow:hidden;
  border-radius:18px;
  background:var(--green-soft);
  aspect-ratio:16/10;
}

.managed-card-thumbnail img,
.case-thumb-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.case-thumb-image{
  display:block;
  padding:0;
  overflow:hidden;
}

.managed-card-link,
.contact-card-link{
  display:inline-flex;
  margin-top:16px;
  color:var(--green);
  font-weight:900;
}

.managed-card-link:hover,
.managed-card-link:focus-visible,
.contact-card-link:hover,
.contact-card-link:focus-visible{
  color:var(--gold);
}

.archive-header{
  display:block;
  position:static;
  margin:34px 0 28px;
  border:0;
  background:transparent;
  box-shadow:none;
}

.archive-header .page-title,
.single-case-card .single-content-header .page-title{
  color:var(--green-dark);
}

.archive-content-type .navigation.pagination{
  margin-top:34px;
}

.archive-content-type .nav-links{
  justify-content:center;
}

.archive-content-type .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  min-height:42px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--green-dark);
}

.archive-content-type .page-numbers.current{
  border-color:var(--green);
  background:var(--green);
  color:#fff;
}

.single-content-type{
  padding:34px 0 72px;
}

.single-content-card{
  max-width:960px;
  margin:28px auto 0;
  padding:clamp(24px,5vw,60px);
  border:1px solid var(--line);
  border-radius:30px;
  background:var(--paper);
  box-shadow:var(--shadow);
}

.single-content-header{
  position:static;
  margin-bottom:28px;
  border:0;
  background:transparent;
  box-shadow:none;
}

.single-lead{
  max-width:760px;
  margin:18px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:2;
}

.single-featured-image{
  overflow:hidden;
  margin:0 0 30px;
  border-radius:24px;
  background:var(--green-soft);
}

.single-featured-image img{
  display:block;
  width:100%;
  height:auto;
}

.single-case-featured-image{
  display:grid;
  place-items:center;
  width:min(100%,760px);
  margin:0 auto 30px;
}

.single-case-featured-image .single-case-primary-image{
  width:auto;
  max-width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain;
}

.single-case-categories{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
}

.single-case-categories ul{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.single-case-categories a{
  display:inline-flex;
  padding:6px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--green-soft);
  color:var(--green-dark);
  font-weight:800;
}

.single-case-categories a:hover,
.single-case-categories a:focus-visible{
  border-color:var(--gold);
  color:#76591f;
}

.case-technical-section{
  margin:0 0 30px;
  padding:clamp(20px,3vw,28px);
  border:1px solid rgba(12,81,63,.18);
  border-radius:22px;
  background:linear-gradient(145deg,#f4faf7,#fffdf8);
}

.case-technical-section > h2{
  margin:0 0 20px;
  color:var(--green-dark);
  font-size:clamp(21px,3vw,28px);
}

.case-technical-section .technical-details{
  margin-bottom:0;
}

.case-technical-section .technical-details + .technical-note{
  margin-top:18px;
}

.technical-details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:0 0 30px;
}

.technical-details div{
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--green-soft);
}

.technical-details dt{
  margin-bottom:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.technical-details dd{
  margin:0;
  color:var(--green-dark);
  font-weight:900;
}

.technical-note{
  margin:0 0 30px;
  padding:20px;
  border-inline-start:4px solid var(--gold);
  border-radius:14px;
  background:#fff8e8;
}

.technical-note h2,
.technical-note h3{
  margin:0 0 8px;
  font-size:18px;
  color:var(--green-dark);
}

.technical-note p{
  margin:0;
  line-height:1.9;
}

.single-entry-content{
  line-height:2;
}

.single-entry-content img{
  max-width:100%;
  height:auto;
}

.single-service-badges{
  margin:0 0 28px;
}

.single-entry-content > :first-child{
  margin-top:0;
}

.content-none{
  padding:28px;
  border:1px dashed rgba(12,81,63,.3);
  border-radius:20px;
  background:var(--green-soft);
  color:var(--green-dark);
  text-align:center;
}

.content-none p{
  margin:0;
}

.manager-details{
  display:grid;
  gap:10px;
  margin:20px 0 26px;
}

.manager-details div{
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.07);
}

.manager-details dt{
  margin-bottom:5px;
  color:var(--gold-soft);
  font-size:12px;
  font-weight:900;
}

.manager-details dd{
  margin:0;
  color:#fff;
  line-height:1.8;
}

.about-manager-card .manager-details div{
  border-color:rgba(12,81,63,.16);
  background:rgba(12,81,63,.055);
}

.about-manager-card .manager-details dt{
  color:#735716;
}

.about-manager-card .manager-details dd{
  color:#173d32;
}

.single-case-gallery{
  margin-top:36px;
  padding-top:30px;
  border-top:1px solid var(--line);
}

.single-case-gallery > h2{
  margin:0 0 20px;
  color:var(--green-dark);
  font-size:clamp(22px,3vw,30px);
}

.single-case-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:14px;
}

.single-case-gallery-link{
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--green-soft);
  aspect-ratio:4/3;
}

.single-case-gallery-link img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  transition:transform .25s ease;
}

.single-case-gallery-link:hover img,
.single-case-gallery-link:focus-visible img{
  transform:scale(1.025);
}

.case-form-placeholder :disabled{
  cursor:not-allowed;
  opacity:.78;
}

.field-help{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
}

.form-privacy-note{
  margin:14px 0 0;
  padding:14px 16px;
  border:1px solid rgba(189,152,82,.3);
  border-radius:14px;
  background:#fff8e8;
  color:#59461f;
  font-size:13px;
  line-height:1.9;
}

.send-contact-actions{
  margin-top:18px;
}

@media (max-width:980px){
  .internal-page-head{
    gap:20px;
  }

  .technical-details{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .page-breadcrumb{
    padding-top:20px;
  }

  .page-title{
    font-size:clamp(28px,9vw,40px);
  }

  .single-content-type{
    padding:20px 0 48px;
  }

  .single-content-card{
    padding:22px;
    border-radius:22px;
  }

  .single-case-featured-image .single-case-primary-image{
    max-height:420px;
  }

  .case-technical-section{
    padding:18px;
    border-radius:18px;
  }

  .single-case-gallery-grid{
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:10px;
  }

  .managed-card-thumbnail{
    aspect-ratio:4/3;
  }
}

/* --- Stage 9: scoped lower-Home glass system and scroll reveals --- */
.home-page .home-stage9{
  --stage9-gold:#efd79c;
  --stage9-gold-soft:#f6e8c2;
  --stage9-mint:#7ed1b1;
  --stage9-border:rgba(244,227,180,.17);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  overflow:clip;
  padding-top:clamp(54px,6vw,86px);
  color:#fff;
  background:
    radial-gradient(circle at 12% 10%,rgba(229,193,117,.12),transparent 27%),
    radial-gradient(circle at 88% 43%,rgba(39,158,119,.14),transparent 31%),
    linear-gradient(180deg,#062f27 0%,#0a4639 34%,#07382f 68%,#052b24 100%);
  border-top:1px solid rgba(255,255,255,.06);
}

.home-page .home-stage9::before,
.home-page .home-stage9::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:clamp(260px,34vw,520px);
  aspect-ratio:1;
  border-radius:50%;
  pointer-events:none;
  filter:blur(12px);
  opacity:.42;
}

.home-page .home-stage9::before{
  top:8%;
  inset-inline-start:-18%;
  background:radial-gradient(circle,rgba(229,193,117,.18),transparent 69%);
}

.home-page .home-stage9::after{
  top:48%;
  inset-inline-end:-17%;
  background:radial-gradient(circle,rgba(41,164,124,.20),transparent 70%);
}

.home-page .home-stage9 [data-stage9-section]{
  position:relative;
  z-index:1;
  min-width:0;
}

.home-page .home-stage9 .home-materials-v2{
  width:min(1160px,calc(100% - 44px));
  margin-inline:auto;
  padding:0 0 clamp(54px,6vw,78px);
}

.home-page .home-stage9 .materials-intro-v2,
.home-page .home-stage9 .material-showcase-card,
.home-page .home-stage9 .material-mini-card,
.home-page .home-stage9 .home-trust-strip,
.home-page .home-stage9 .feature-video-card,
.home-page .home-stage9 .feature-glass-copy,
.home-page .home-stage9 .home-final-cta-panel{
  background:linear-gradient(145deg,rgba(7,55,43,.68),rgba(5,39,32,.52));
  border:1px solid var(--stage9-border);
  box-shadow:0 18px 48px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.07);
}

@supports ((backdrop-filter:blur(14px)) or (-webkit-backdrop-filter:blur(14px))){
  .home-page .home-stage9 .materials-intro-v2,
  .home-page .home-stage9 .material-showcase-card,
  .home-page .home-stage9 .material-mini-card,
  .home-page .home-stage9 .home-trust-strip,
  .home-page .home-stage9 .feature-video-card,
  .home-page .home-stage9 .feature-glass-copy,
  .home-page .home-stage9 .home-final-cta-panel{
    background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045));
    backdrop-filter:blur(14px) saturate(108%);
    -webkit-backdrop-filter:blur(14px) saturate(108%);
  }
}

.home-page .home-stage9 .materials-intro-v2{
  position:relative;
  overflow:hidden;
  max-width:900px;
  margin:0 auto clamp(22px,3vw,34px);
  padding:clamp(24px,3.2vw,38px);
  border-radius:30px;
  text-align:start;
}

.home-page .home-stage9 .materials-intro-glow{
  position:absolute;
  inset-inline-end:-80px;
  bottom:-100px;
  width:240px;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(229,193,117,.18),transparent 68%);
  pointer-events:none;
}

.home-page .home-stage9 .materials-kicker-v2,
.home-page .home-stage9 .feature-kicker,
.home-page .home-stage9 .home-final-cta-kicker{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  color:var(--stage9-gold);
  font-size:13px;
  font-weight:800;
}

.home-page .home-stage9 .materials-kicker-v2 > span,
.home-page .home-stage9 .feature-kicker > span,
.home-page .home-stage9 .home-final-cta-kicker > span{
  width:34px;
  height:2px;
  flex:0 0 34px;
  border-radius:999px;
  background:linear-gradient(90deg,#c99f4f,#f4e4bd);
  box-shadow:0 0 16px rgba(239,215,156,.26);
}

.home-page .home-stage9 .home-materials-v2 h2{
  max-width:22ch;
  margin:14px 0 0;
  color:#fff!important;
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1.48;
  text-align:start;
  text-wrap:balance;
}

.home-page .home-stage9 .materials-intro-v2 > p{
  max-width:66ch;
  margin:15px 0 0;
  color:rgba(255,255,255,.82)!important;
  font-size:clamp(.94rem,1.15vw,1.04rem);
  line-height:1.95;
  text-align:start;
}

.home-page .home-stage9 .materials-feature-grid-v2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,2vw,24px);
  margin-top:0;
}

.home-page .home-stage9 .material-showcase-card{
  min-width:0;
  padding:clamp(17px,2vw,23px);
  overflow:hidden;
  border-radius:28px;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}

.home-page .home-stage9 .material-showcase-head{
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin-bottom:16px;
  text-align:start;
}

.home-page .home-stage9 .material-index,
.home-page .home-stage9 .mini-badge{
  display:grid;
  place-items:center;
  color:var(--stage9-gold-soft);
  background:rgba(239,215,156,.12);
  border:1px solid rgba(239,215,156,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.home-page .home-stage9 .material-index{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:14px;
  font-size:11px;
}

.home-page .home-stage9 .material-showcase-head h3,
.home-page .home-stage9 .material-mini-card h4{
  color:var(--stage9-gold-soft)!important;
  overflow-wrap:anywhere;
}

.home-page .home-stage9 .material-showcase-head h3{
  margin:0;
  font-size:1.12rem;
  line-height:1.55;
}

.home-page .home-stage9 .material-showcase-head p{
  margin:5px 0 0;
  color:rgba(255,255,255,.76)!important;
  font-size:12.75px;
  line-height:1.8;
}

.home-page .home-stage9 .material-visual-pair{
  display:grid;
  align-items:stretch;
  gap:12px;
  min-width:0;
}

.home-page .home-stage9 .vita-pair{
  grid-template-columns:minmax(0,1fr) 138px;
}

.home-page .home-stage9 .ivoclar-pair{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.home-page .home-stage9 .material-visual-pair figure{
  min-width:0;
  min-height:0;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.25);
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}

.home-page .home-stage9 .vita-pair .visual-large,
.home-page .home-stage9 .ivoclar-pair .visual-half{
  aspect-ratio:16/10;
}

.home-page .home-stage9 .vita-pair .visual-product{
  display:grid;
  place-items:center;
  aspect-ratio:4/5;
  padding:12px;
}

.home-page .home-stage9 .material-visual-pair img{
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
  filter:none;
  transition:transform .3s ease;
}

.home-page .home-stage9 .vita-pair .visual-product img{
  object-fit:contain;
}

.home-page .home-stage9 .materials-mini-grid-v2{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(13px,1.7vw,19px);
  margin-top:clamp(18px,2.2vw,25px);
}

.home-page .home-stage9 .material-mini-card{
  position:relative;
  min-width:0;
  min-height:168px;
  padding:22px 19px 19px;
  border-radius:22px;
  text-align:start;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}

.home-page .home-stage9 .material-mini-card-wide{
  grid-column:span 3;
  min-height:auto;
}

.home-page .home-stage9 .mini-badge{
  position:absolute;
  top:15px;
  right:auto;
  left:auto;
  inset-inline-end:15px;
  width:31px;
  height:31px;
  border-radius:11px;
  font-size:10.5px;
}

.home-page .home-stage9 .material-mini-card h4{
  margin:0 0 9px;
  padding:0;
  padding-inline-end:42px;
  font-size:1rem;
  line-height:1.55;
}

.home-page .home-stage9 .material-mini-card p{
  margin:0;
  color:rgba(255,255,255,.75)!important;
  font-size:12.75px;
  line-height:1.85;
}

.home-page .home-stage9 .home-trust-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  width:min(1160px,calc(100% - 44px));
  margin:0 auto;
  padding:13px;
  border-radius:24px;
}

.home-page .home-stage9 .trust-highlight-item{
  display:flex;
  align-items:center;
  min-width:0;
  gap:11px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:17px;
  background:rgba(255,255,255,.035);
  transition:border-color .22s ease,background-color .22s ease,transform .22s ease;
}

.home-page .home-stage9 .trust-highlight-icon{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:14px;
  color:var(--stage9-gold-soft);
  background:linear-gradient(145deg,rgba(239,215,156,.15),rgba(126,209,177,.08));
  border:1px solid rgba(239,215,156,.16);
}

.home-page .home-stage9 .trust-highlight-icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.home-page .home-stage9 .trust-highlight-item strong{
  color:rgba(255,255,255,.9);
  font-size:12.5px;
  line-height:1.75;
  overflow-wrap:anywhere;
}

.home-page .home-stage9 .home-feature-showcase-secondary{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  grid-template-areas:"video copy";
  align-items:stretch;
  gap:clamp(17px,2.2vw,26px);
  width:min(1160px,calc(100% - 44px));
  margin:clamp(58px,7vw,92px) auto 0;
  padding:clamp(58px,7vw,86px) 0 clamp(52px,6vw,76px);
  border-top:1px solid rgba(244,227,180,.10);
}

body.en .home-stage9 .home-feature-showcase-secondary{
  grid-template-areas:"copy video";
}

.home-page .home-stage9 .feature-video-card{
  grid-area:video;
  display:grid;
  grid-template-rows:auto auto auto;
  align-content:start;
  gap:12px;
  min-width:0;
  min-height:0;
  padding:14px;
  overflow:hidden;
  border-radius:30px;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}

.home-page .home-stage9 .feature-video-label,
.home-page .home-stage9 .feature-video-subtitle{
  position:static;
  inset:auto;
  z-index:auto;
  max-width:none;
  margin:0;
  padding:2px 6px;
  color:inherit;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  text-align:start;
}

.home-page .home-stage9 .feature-video-label span{
  display:block;
  color:var(--stage9-gold-soft);
  font-size:12px;
  font-weight:800;
  line-height:1.7;
}

.home-page .home-stage9 .stage9-video-media{
  position:relative;
  isolation:isolate;
  width:100%;
  min-width:0;
  aspect-ratio:16/10;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.19);
  border-radius:22px;
  background:#041f19;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
}

.home-page .home-stage9 .feature-showcase-poster,
.home-page .home-stage9 .feature-showcase-video{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:none;
}

.home-page .home-stage9 .feature-showcase-poster{
  z-index:0;
}

.home-page .home-stage9 .feature-showcase-video{
  z-index:1;
}

.home-page .home-stage9 .feature-video-subtitle span{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.75;
  text-align:start;
}

.home-page .home-stage9 .feature-glass-copy{
  grid-area:copy;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:clamp(25px,3.1vw,38px);
  border-radius:30px;
  text-align:start;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}

.home-page .home-stage9 .feature-glass-copy h2{
  max-width:19ch;
  margin:14px 0 0;
  color:#fff!important;
  font-size:clamp(1.75rem,2.7vw,2.75rem);
  line-height:1.48;
  text-align:start;
  text-wrap:balance;
}

.home-page .home-stage9 .feature-glass-copy > p{
  max-width:62ch;
  margin:15px 0 0;
  color:rgba(255,255,255,.8)!important;
  font-size:14px;
  line-height:1.9;
  text-align:start;
}

.home-page .home-stage9 .feature-points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:19px;
}

.home-page .home-stage9 .feature-points > div{
  min-width:0;
  padding:13px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  background:rgba(255,255,255,.045);
  text-align:start;
  transition:border-color .22s ease,background-color .22s ease,transform .22s ease;
}

.home-page .home-stage9 .feature-points strong{
  display:block;
  color:var(--stage9-gold-soft)!important;
  font-size:13px;
  line-height:1.55;
}

.home-page .home-stage9 .feature-points span{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.68)!important;
  font-size:11.5px;
  line-height:1.7;
}

.home-page .home-stage9 .feature-cta{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  margin-top:20px;
  padding:10px 18px;
  border:1px solid rgba(239,215,156,.22);
  border-radius:15px;
  color:#fff;
  background:rgba(239,215,156,.10);
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}

.home-page .home-stage9 .home-final-cta{
  width:min(1160px,calc(100% - 44px));
  margin:0 auto;
  padding:0 0 clamp(54px,7vw,88px);
}

.home-page .home-stage9 .home-final-cta-panel{
  position:relative;
  overflow:hidden;
  padding:clamp(30px,5vw,58px);
  border-radius:32px;
  text-align:center;
}

.home-page .home-stage9 .home-final-cta-light{
  position:absolute;
  width:260px;
  aspect-ratio:1;
  border-radius:50%;
  pointer-events:none;
}

.home-page .home-stage9 .home-final-cta-light-gold{
  top:-150px;
  inset-inline-start:-80px;
  background:radial-gradient(circle,rgba(229,193,117,.18),transparent 69%);
}

.home-page .home-stage9 .home-final-cta-light-green{
  bottom:-170px;
  inset-inline-end:-55px;
  background:radial-gradient(circle,rgba(57,180,137,.18),transparent 70%);
}

.home-page .home-stage9 .home-final-cta-kicker{
  position:relative;
  justify-content:center;
}

.home-page .home-stage9 .home-final-cta-panel h2{
  position:relative;
  max-width:24ch;
  margin:15px auto 0;
  color:#fff;
  font-size:clamp(1.8rem,3.3vw,3.15rem);
  line-height:1.5;
  text-wrap:balance;
}

.home-page .home-stage9 .home-final-cta-panel > p{
  position:relative;
  max-width:62ch;
  margin:14px auto 0;
  color:rgba(255,255,255,.78);
  font-size:clamp(.93rem,1.15vw,1.02rem);
  line-height:1.9;
}

.home-page .home-stage9 .home-final-cta-actions{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:11px;
  margin-top:23px;
}

.home-page .home-stage9 .home-final-cta-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:50px;
  padding:11px 22px;
  border-radius:16px;
  font-size:14px;
  font-weight:900;
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}

.home-page .home-stage9 .home-final-cta-primary{
  color:#063b30;
  background:linear-gradient(135deg,#f0d79d,#d7b86f);
  border:1px solid rgba(255,245,218,.55);
  box-shadow:0 12px 28px rgba(0,0,0,.17);
}

.home-page .home-stage9 .home-final-cta-secondary{
  color:#fff;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.15);
}

.home-page .home-stage9 a:focus-visible{
  outline:3px solid #f6dfaa;
  outline-offset:4px;
  box-shadow:0 0 0 5px rgba(7,49,39,.72);
}

@media (hover:hover) and (pointer:fine){
  .home-page .home-stage9 .material-showcase-card:hover,
  .home-page .home-stage9 .material-mini-card:hover,
  .home-page .home-stage9 .feature-video-card:hover,
  .home-page .home-stage9 .feature-glass-copy:hover{
    transform:translateY(-5px);
    border-color:rgba(244,227,180,.28);
    box-shadow:0 23px 56px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.09);
  }

  .home-page .home-stage9 .material-showcase-card:hover .material-visual-pair img{
    transform:scale(1.015);
  }

  .home-page .home-stage9 .trust-highlight-item:hover,
  .home-page .home-stage9 .feature-points > div:hover{
    transform:translateY(-4px);
    border-color:rgba(239,215,156,.20);
    background:rgba(255,255,255,.065);
  }

  .home-page .home-stage9 .feature-cta:hover,
  .home-page .home-stage9 .home-final-cta-actions a:hover{
    transform:translateY(-3px);
    border-color:rgba(246,228,183,.36);
    box-shadow:0 14px 30px rgba(0,0,0,.2);
  }
}

/* Progressive enhancement: elements are visible until JS confirms observers. */
.home-page .home-stage9.is-stage9-ready [data-stage9-reveal]{
  transition:
    opacity .64s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms),
    transform .64s cubic-bezier(.22,.72,.24,1) var(--stage9-delay,0ms),
    border-color .25s ease,
    box-shadow .25s ease;
}

.home-page .home-stage9.is-stage9-ready [data-stage9-reveal]:not(.is-stage9-revealed){
  opacity:0;
  transform:translate3d(0,26px,0);
}

.home-page .home-stage9.is-stage9-ready [data-stage9-reveal="from-start"]:not(.is-stage9-revealed){
  transform:translate3d(22px,0,0);
}

.home-page .home-stage9.is-stage9-ready [data-stage9-reveal="from-end"]:not(.is-stage9-revealed){
  transform:translate3d(-22px,0,0);
}

body.en .home-stage9.is-stage9-ready [data-stage9-reveal="from-start"]:not(.is-stage9-revealed){
  transform:translate3d(-22px,0,0);
}

body.en .home-stage9.is-stage9-ready [data-stage9-reveal="from-end"]:not(.is-stage9-revealed){
  transform:translate3d(22px,0,0);
}

.home-page .home-stage9.is-stage9-ready [data-stage9-reveal="scale"]:not(.is-stage9-revealed){
  transform:translate3d(0,16px,0) scale(.98);
}

.home-page .home-stage9.is-stage9-ready [data-stage9-reveal].is-stage9-revealed{
  opacity:1;
}

@media (max-width:980px){
  .home-page .home-stage9{
    padding-top:50px;
  }

  .home-page .home-stage9 .materials-feature-grid-v2{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .materials-mini-grid-v2{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .home-page .home-stage9 .material-mini-card-wide{
    grid-column:span 2;
  }

  .home-page .home-stage9 .home-trust-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .home-page .home-stage9 .home-feature-showcase-secondary,
  body.en .home-stage9 .home-feature-showcase-secondary{
    grid-template-columns:1fr;
    grid-template-areas:"copy" "video";
    gap:16px;
  }
}

@media (max-width:640px){
  .home-page .home-stage9{
    padding-top:34px;
  }

  .home-page .home-stage9 .home-materials-v2,
  .home-page .home-stage9 .home-trust-strip,
  .home-page .home-stage9 .home-feature-showcase-secondary,
  .home-page .home-stage9 .home-final-cta{
    width:calc(100% - 28px);
    max-width:100%;
  }

  .home-page .home-stage9 .home-materials-v2{
    padding-bottom:38px;
  }

  .home-page .home-stage9 .materials-intro-v2{
    padding:22px 17px;
    border-radius:22px;
  }

  .home-page .home-stage9 .home-materials-v2 h2,
  .home-page .home-stage9 .feature-glass-copy h2{
    font-size:clamp(1.55rem,7.8vw,2.15rem);
  }

  .home-page .home-stage9 .materials-intro-v2 > p,
  .home-page .home-stage9 .feature-glass-copy > p{
    font-size:.91rem;
    line-height:1.82;
  }

  .home-page .home-stage9 .material-showcase-card{
    padding:15px;
    border-radius:21px;
  }

  .home-page .home-stage9 .vita-pair,
  .home-page .home-stage9 .ivoclar-pair{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .vita-pair .visual-product{
    width:min(160px,100%);
    justify-self:center;
    aspect-ratio:1;
  }

  .home-page .home-stage9 .materials-mini-grid-v2{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .material-mini-card,
  .home-page .home-stage9 .material-mini-card-wide{
    grid-column:span 1;
    min-height:0;
    padding:19px 16px 17px;
    border-radius:19px;
  }

  .home-page .home-stage9 .home-trust-strip{
    grid-template-columns:1fr;
    padding:10px;
    border-radius:21px;
  }

  .home-page .home-stage9 .trust-highlight-item{
    min-height:62px;
    padding:10px 12px;
  }

  .home-page .home-stage9 .home-feature-showcase-secondary{
    margin-top:48px;
    padding:45px 0 42px;
  }

  .home-page .home-stage9 .feature-glass-copy,
  .home-page .home-stage9 .feature-video-card{
    padding:17px;
    border-radius:22px;
  }

  .home-page .home-stage9 .feature-points{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .feature-cta{
    width:100%;
  }

  .home-page .home-stage9 .stage9-video-media{
    border-radius:17px;
  }

  .home-page .home-stage9 .home-final-cta{
    padding-bottom:46px;
  }

  .home-page .home-stage9 .home-final-cta-panel{
    padding:28px 17px;
    border-radius:23px;
  }

  .home-page .home-stage9 .home-final-cta-panel h2{
    font-size:clamp(1.55rem,7.8vw,2.2rem);
  }

  .home-page .home-stage9 .home-final-cta-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .home-final-cta-actions a{
    width:100%;
  }

  .home-page .home-stage9.is-stage9-ready [data-stage9-reveal]{
    transition-duration:.52s;
  }

  .home-page .home-stage9.is-stage9-ready [data-stage9-reveal]:not(.is-stage9-revealed){
    transform:translate3d(0,20px,0);
  }
}

@media (prefers-reduced-motion:reduce){
  .home-page .home-stage9.is-stage9-ready [data-stage9-reveal],
  .academy-reduced-motion .home-page .home-stage9.is-stage9-ready [data-stage9-reveal]{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }

  .home-page .home-stage9 .material-visual-pair img,
  .home-page .home-stage9 .material-showcase-card,
  .home-page .home-stage9 .material-mini-card,
  .home-page .home-stage9 .trust-highlight-item,
  .home-page .home-stage9 .feature-video-card,
  .home-page .home-stage9 .feature-glass-copy,
  .home-page .home-stage9 .feature-points > div,
  .home-page .home-stage9 .feature-cta,
  .home-page .home-stage9 .home-final-cta-actions a{
    transition:none!important;
  }
}

/* Keep the 0.5.2 Showcase in its intended full-width flow after legacy layers. */
.home-page .home-stage9 .home-feature-showcase-secondary,
body.en .home-stage9 .home-feature-showcase-secondary{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"copy" "video";
}

/* Home materials 0.6.0: dynamic cards; scoped to the approved Home section. */
.home-page .home-stage9 .academy-material-group + .academy-material-group{
  margin-top:clamp(18px,2.2vw,25px);
}

.home-page .home-stage9 .academy-material-group-info.materials-mini-grid-v2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.home-page .home-stage9 .material-showcase-card-wide{
  grid-column:1/-1;
  width:min(100%,720px);
  justify-self:center;
}

.home-page .home-stage9 .academy-material-group-info .material-mini-card-wide{
  grid-column:1/-1;
  min-height:auto;
}

.home-page .home-stage9 .material-card-copy,
.home-page .home-stage9 .material-mini-content{
  min-width:0;
  text-align:start;
}

.home-page .home-stage9 .material-visual-product-pair{
  grid-template-columns:minmax(0,1fr) 138px;
}

.home-page .home-stage9 .material-visual-split-pair{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.home-page .home-stage9 .material-visual-single{
  grid-template-columns:minmax(0,1fr);
}

.home-page .home-stage9 .material-dynamic-featured .material-primary-visual,
.home-page .home-stage9 .material-visual-split-pair .material-secondary-visual,
.home-page .home-stage9 .material-visual-single .material-primary-visual{
  aspect-ratio:16/10;
}

.home-page .home-stage9 .material-visual-product-pair .material-secondary-visual{
  display:grid;
  place-items:center;
  aspect-ratio:4/5;
  padding:12px;
}

.home-page .home-stage9 .material-visual-product-pair .material-secondary-image{
  object-fit:contain;
}

.home-page .home-stage9 .material-dynamic-featured img{
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
}

.home-page .home-stage9 .material-dynamic-info h4,
.home-page .home-stage9 .material-dynamic-info p,
.home-page .home-stage9 .material-dynamic-featured h3,
.home-page .home-stage9 .material-dynamic-featured p{
  max-width:100%;
  overflow-wrap:anywhere;
  text-align:start;
}

body.en .home-stage9 .material-card-copy[dir="auto"],
body.en .home-stage9 .material-mini-content[dir="auto"]{
  unicode-bidi:plaintext;
}

@media (max-width:980px){
  .home-page .home-stage9 .material-showcase-card-wide{
    width:100%;
  }
}

@media (max-width:640px){
  .home-page .home-stage9 .academy-material-group-info.materials-mini-grid-v2{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .material-visual-product-pair,
  .home-page .home-stage9 .material-visual-split-pair{
    grid-template-columns:1fr;
  }

  .home-page .home-stage9 .material-visual-product-pair .material-secondary-visual{
    width:min(160px,100%);
    justify-self:center;
    aspect-ratio:1;
  }
}

/* Match the approved 0.5.2 image-overlay composition for dynamic markup. */
.home-page .home-stage9 .home-materials-v2 .material-dynamic-featured .material-primary-visual{
  width:100%;
  aspect-ratio:16/11;
  border:0;
  background:#d9e2de;
}

.home-page .home-stage9 .home-materials-v2 .material-dynamic-featured .material-primary-image{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.001);
  transition:transform .3s ease;
}

.home-page .home-stage9 .home-materials-v2 .material-dynamic-featured .material-secondary-visual{
  position:absolute;
  z-index:3;
  top:15px;
  inset-inline-end:15px;
  display:grid;
  place-items:center;
  width:clamp(88px,23%,116px);
  aspect-ratio:1;
  padding:7px;
  border:1px solid rgba(255,255,255,.64);
  border-radius:18px;
  background:rgba(255,255,255,.91);
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}

.home-page .home-stage9 .home-materials-v2 .material-visual-split-pair .material-secondary-visual{
  aspect-ratio:4/3;
  padding:0;
  background:#e6ece9;
}

.home-page .home-stage9 .home-materials-v2 .material-visual-product-pair .material-secondary-image{
  object-fit:contain;
}

.home-page .home-stage9 .home-materials-v2 .material-visual-split-pair .material-secondary-image{
  object-fit:cover;
}

.home-page .home-stage9 .home-materials-v2 .material-dynamic-featured .material-showcase-head p{
  display:block;
  overflow:visible;
  -webkit-box-orient:initial;
  -webkit-line-clamp:unset;
}

@media (hover:hover) and (pointer:fine){
  .home-page .home-stage9 .home-materials-v2 .material-dynamic-featured:hover .material-primary-image{
    transform:scale(1.018);
  }
}

@media (max-width:640px){
  .home-page .home-stage9 .home-materials-v2 .material-dynamic-featured .material-primary-visual{
    aspect-ratio:4/3;
  }

  .home-page .home-stage9 .home-materials-v2 .material-dynamic-featured .material-secondary-visual{
    top:10px;
    inset-inline-end:10px;
    width:76px;
    border-radius:14px;
  }
}


/* 0.15.5 — global desktop header fit and brand stability. */
@media (min-width:981px){
  .site-header .wrap.top{
    width:min(1340px,calc(100% - 24px));
    max-width:1340px;
    flex-wrap:nowrap!important;
    gap:clamp(8px,1vw,16px)!important;
  }
  .site-header .brand{
    flex:0 1 clamp(245px,22vw,315px)!important;
    width:auto!important;
    max-width:315px!important;
    gap:10px!important;
  }
  .site-header .brand-copy{min-width:0!important;white-space:nowrap}
  .site-header .brand-copy strong{
    display:block!important;
    max-width:none!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:clamp(16px,1.38vw,20px)!important;
  }
  .site-header .brand-copy>span{
    display:block;
    max-width:100%;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:10.5px!important;
  }
  .site-header .primary-navigation{
    flex:1 1 auto!important;
    min-width:0!important;
    margin-inline-start:0!important;
  }
  .site-header .primary-menu{
    width:100%;
    flex-wrap:nowrap!important;
    justify-content:center!important;
    gap:0!important;
  }
  .site-header .primary-menu>li{flex:0 0 auto}
  .site-header .primary-menu>li>a{
    min-height:38px!important;
    padding:7px clamp(5px,.64vw,9px)!important;
    white-space:nowrap!important;
    font-size:clamp(11px,.9vw,13px)!important;
  }
  .site-header .header-actions{gap:6px!important;flex:0 0 auto!important}
  .site-header .dentist-header-access-link{padding-inline:8px!important}
}
@media (min-width:981px) and (max-width:1120px){
  .site-header .brand{flex-basis:220px!important;max-width:220px!important}
  .site-header .brand-copy>span{display:none!important}
  .site-header .primary-menu>li>a{padding-inline:4px!important;font-size:10.5px!important}
}

/* 0.15.8 — mobile-only polish. Desktop presentation is intentionally unchanged. */
@media (max-width:640px){
  /* Make the public site navigation unmistakable inside dentist/account pages. */
  .site-header .header-actions{
    align-items:center;
    gap:7px!important;
    min-width:0;
  }
  .site-header .dentist-header-access{
    min-width:0;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .site-header .dentist-header-access::-webkit-scrollbar{display:none}
  .site-header .primary-menu-toggle{
    position:relative;
    z-index:2;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:7px;
    width:auto!important;
    min-width:92px;
    height:38px;
    flex:0 0 auto!important;
    padding:7px 10px!important;
    color:#fff;
    font:800 11px/1.2 inherit;
    white-space:nowrap;
  }
  .site-header .primary-menu-toggle::after{
    content:"منوی سایت";
    display:block;
    color:#fff;
  }
  body.en .site-header .primary-menu-toggle::after{content:"Site menu"}
  .site-header .primary-menu-toggle>span{
    width:18px;
    flex:0 0 18px;
    margin:2px 0;
  }
  .site-header .primary-navigation{
    z-index:1003;
    right:6px;
    left:6px;
    border-radius:0 0 18px 18px;
  }
  .site-header .primary-navigation.is-open{
    max-height:min(68svh,520px);
  }
  .site-header .primary-menu{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    padding:11px;
  }
  .site-header .primary-menu>li,
  .site-header .primary-menu>li>a{min-width:0;width:100%}
  .site-header .primary-menu>li>a{
    justify-content:center;
    min-height:44px;
    padding:9px 8px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.055);
    text-align:center;
    white-space:normal;
  }

  /* Keep a meaningful portion of the home video visible above the message panel. */
  .home-hero-scene{
    min-height:clamp(610px,82svh,720px);
  }
  .home-hero-layout{
    align-items:end;
    width:calc(100% - 20px);
    padding-top:clamp(255px,43svh,330px);
    padding-bottom:20px;
  }
  .home-hero-content{
    width:100%;
    padding:14px 13px;
    border-radius:19px;
  }
  .home-hero-glass-panel{
    background:linear-gradient(100deg,rgba(4,38,30,.58),rgba(4,49,38,.66));
    box-shadow:0 12px 30px rgba(0,0,0,.18);
  }
  body.en .home-hero-glass-panel{
    background:linear-gradient(260deg,rgba(4,38,30,.58),rgba(4,49,38,.66));
  }
  @supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))){
    .home-hero-glass-panel{
      backdrop-filter:blur(8px) saturate(112%);
      -webkit-backdrop-filter:blur(8px) saturate(112%);
      background:linear-gradient(100deg,rgba(4,38,30,.48),rgba(4,49,38,.56));
    }
    body.en .home-hero-glass-panel{
      background:linear-gradient(260deg,rgba(4,38,30,.48),rgba(4,49,38,.56));
    }
  }
  .home-hero-eyebrow{display:none}
  .home-hero-content h1{
    max-width:none;
    margin:0;
    font-size:clamp(1.35rem,6.4vw,1.75rem);
    line-height:1.35;
  }
  .home-hero-intro{
    display:-webkit-box;
    margin-top:8px;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    font-size:.78rem;
    line-height:1.7;
  }
  .home-hero-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:11px;
  }
  .home-hero-cta{
    min-width:0;
    min-height:42px;
    padding:8px 9px;
    font-size:.78rem;
    text-align:center;
  }
  .home-hero-video-toggle{
    right:12px;
    bottom:12px;
    width:38px;
    height:38px;
  }
}

@media (max-width:400px){
  .site-header .primary-menu-toggle{min-width:84px;padding-inline:8px!important;font-size:10px}
  .site-header .primary-menu-toggle::after{content:"منو"}
  body.en .site-header .primary-menu-toggle::after{content:"Menu"}
  .site-header .primary-menu{grid-template-columns:1fr}
  .home-hero-layout{padding-top:clamp(275px,46svh,350px)}
  .home-hero-intro{-webkit-line-clamp:2}
  .home-hero-actions{grid-template-columns:1fr 1fr}
}


/* 0.15.9 — reliable mobile header and public site menu access.
   This deliberately resets older generic nav/order rules that leaked into the
   dentist account header. Desktop presentation remains unchanged. */
@media (max-width:640px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "brand"
      "actions"!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    min-height:0!important;
    gap:7px!important;
    padding:8px 0!important;
    overflow:visible!important;
  }

  .site-header .brand{
    grid-area:brand!important;
    order:initial!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    gap:8px!important;
    margin:0!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;
  }
  .site-header .brand-copy{
    display:block!important;
    min-width:0!important;
    max-width:calc(100% - 58px)!important;
  }
  .site-header .brand-copy strong{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    color:#fff!important;
    font-size:15px!important;
    line-height:1.25!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .site-header .brand-copy>span{
    display:none!important;
  }

  .site-header .header-actions{
    grid-area:actions!important;
    order:initial!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 40px minmax(90px,auto)!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  .site-header .dentist-header-access{
    order:initial!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .site-header .dentist-header-access-link{
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:6px 7px!important;
    overflow:hidden!important;
    font-size:10.5px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .site-header .lang{
    order:initial!important;
    display:grid!important;
    width:40px!important;
    min-width:40px!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    border-radius:12px!important;
  }

  .site-header .primary-menu-toggle{
    order:initial!important;
    position:relative!important;
    z-index:1004!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:90px!important;
    height:38px!important;
    margin:0!important;
    padding:6px 9px!important;
    gap:7px!important;
    overflow:visible!important;
    color:#fff!important;
    font:800 11px/1.2 Tahoma,Arial,sans-serif!important;
    white-space:nowrap!important;
  }
  body.en .site-header .primary-menu-toggle{
    font-family:Arial,Helvetica,sans-serif!important;
  }
  .site-header .primary-menu-toggle::before,
  .site-header .primary-menu-toggle::after{
    content:none!important;
    display:none!important;
  }
  .site-header .primary-menu-toggle-icon{
    display:grid!important;
    width:18px!important;
    min-width:18px!important;
    height:16px!important;
    margin:0!important;
    padding:0!important;
    align-content:center!important;
    gap:3px!important;
    background:none!important;
  }
  .site-header .primary-menu-toggle-icon i{
    display:block!important;
    width:18px!important;
    height:2px!important;
    margin:0!important;
    border-radius:999px!important;
    background:#fff!important;
    transition:transform .22s ease,opacity .22s ease!important;
  }
  .site-header .primary-menu-toggle-label{
    display:block!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    background:none!important;
    color:#fff!important;
    line-height:1.2!important;
  }
  .site-header .primary-menu-toggle.is-open .primary-menu-toggle-icon i:nth-child(1){
    transform:translateY(5px) rotate(45deg)!important;
  }
  .site-header .primary-menu-toggle.is-open .primary-menu-toggle-icon i:nth-child(2){
    opacity:0!important;
  }
  .site-header .primary-menu-toggle.is-open .primary-menu-toggle-icon i:nth-child(3){
    transform:translateY(-5px) rotate(-45deg)!important;
  }

  .site-header .primary-navigation{
    order:initial!important;
    position:absolute!important;
    z-index:1003!important;
    top:calc(100% + 1px)!important;
    right:10px!important;
    left:10px!important;
    display:block!important;
    width:auto!important;
    max-width:none!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  .site-header .primary-navigation.is-open{
    max-height:min(68svh,520px)!important;
    overflow-y:auto!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .site-header .primary-menu{
    order:initial!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    margin:0!important;
    padding:11px!important;
    gap:7px!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .site-header .primary-menu>li,
  .site-header .primary-menu>li>a{
    width:100%!important;
    min-width:0!important;
  }
  .site-header .primary-menu>li>a{
    justify-content:center!important;
    min-height:44px!important;
    padding:9px 8px!important;
    text-align:center!important;
    white-space:normal!important;
  }
}

@media (max-width:390px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    width:calc(100% - 14px)!important;
  }
  .site-header .header-actions{
    grid-template-columns:minmax(0,1fr) 38px 82px!important;
    gap:4px!important;
  }
  .site-header .dentist-header-access-link{
    padding-inline:5px!important;
    font-size:10px!important;
  }
  .site-header .lang{
    width:38px!important;
    min-width:38px!important;
  }
  .site-header .primary-menu-toggle{
    min-width:82px!important;
    padding-inline:7px!important;
    font-size:10px!important;
  }
  .site-header .primary-menu{grid-template-columns:1fr!important}
}

/* 0.15.10 — compact mobile header with an always-visible public nav strip.
   Removes the bulky hamburger row while keeping every public site link reachable.
   Desktop presentation and all portal/order layouts remain unchanged. */
@media (max-width:640px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "brand"
      "actions"
      "publicnav"!important;
    width:calc(100% - 16px)!important;
    gap:5px!important;
    padding:6px 0 7px!important;
  }

  .site-header .brand{
    min-height:42px!important;
    gap:7px!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }
  .site-header .brand-copy{max-width:calc(100% - 50px)!important}
  .site-header .brand-copy strong{font-size:14px!important}

  .site-header .header-actions{
    grid-area:actions!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    gap:6px!important;
  }
  .site-header .dentist-header-access{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .site-header .dentist-header-access-link{
    min-height:36px!important;
    padding:6px 8px!important;
    border-radius:11px!important;
    font-size:11px!important;
  }
  .site-header .lang{
    width:42px!important;
    min-width:42px!important;
    height:36px!important;
    min-height:36px!important;
    border-radius:11px!important;
  }

  .site-header .primary-menu-toggle{
    display:none!important;
  }

  .site-header .primary-navigation,
  .site-header .primary-navigation.is-open{
    grid-area:publicnav!important;
    position:static!important;
    z-index:auto!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    scrollbar-width:none!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .site-header .primary-navigation::-webkit-scrollbar{display:none!important}

  .site-header .primary-menu{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:max-content!important;
    min-width:100%!important;
    margin:0!important;
    padding:3px 1px 1px!important;
    gap:5px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  .site-header .primary-menu>li{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
  }
  .site-header .primary-menu>li>a{
    width:auto!important;
    min-width:max-content!important;
    min-height:34px!important;
    justify-content:center!important;
    padding:6px 11px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.055)!important;
    color:rgba(255,255,255,.92)!important;
    font-size:11px!important;
    line-height:1.2!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  .site-header .primary-menu>li>a::after{display:none!important}
  .site-header .primary-menu>.current-menu-item>a,
  .site-header .primary-menu>.current_page_item>a{
    border-color:rgba(239,215,156,.54)!important;
    background:rgba(239,215,156,.13)!important;
    color:#fff!important;
  }
  .site-header .primary-menu .sub-menu{display:none!important}
  body.academy-menu-open{overflow:auto!important}
}

@media (max-width:390px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{width:calc(100% - 12px)!important}
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }
  .site-header .brand-copy strong{font-size:13.5px!important}
  .site-header .header-actions{grid-template-columns:minmax(0,1fr) 40px!important}
  .site-header .lang{width:40px!important;min-width:40px!important}
  .site-header .primary-menu>li>a{padding-inline:10px!important;font-size:10.5px!important}
}

/* 0.15.11 — balanced one-row mobile header.
   Physical layout: account access at the left, brand beside a compact hamburger
   at the right. Public links open in a clean dropdown instead of a horizontal strip. */
@media (max-width:640px){
  .site-header{
    overflow:visible!important;
  }

  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(108px,auto) 44px!important;
    grid-template-areas:
      "actions brand toggle"
      "nav nav nav"!important;
    align-items:center!important;
    width:calc(100% - 18px)!important;
    max-width:none!important;
    min-height:64px!important;
    gap:7px!important;
    padding:7px 0!important;
    overflow:visible!important;
  }

  .site-header .brand{
    grid-area:brand!important;
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    min-height:44px!important;
    gap:7px!important;
    margin:0!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }
  .site-header .brand-copy{
    display:block!important;
    min-width:0!important;
    max-width:150px!important;
  }
  .site-header .brand-copy strong{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    color:#fff!important;
    font-size:13.5px!important;
    line-height:1.25!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .site-header .brand-copy>span{display:none!important}

  .site-header .header-actions{
    grid-area:actions!important;
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .site-header .dentist-header-access{
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .site-header .dentist-header-access-link{
    width:auto!important;
    min-width:0!important;
    min-height:36px!important;
    padding:6px 9px!important;
    border-radius:11px!important;
    overflow:hidden!important;
    font-size:10.5px!important;
    line-height:1.1!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .site-header .dentist-header-access-label-full{display:none!important}
  .site-header .dentist-header-access-label-short{display:inline!important}
  .site-header .lang{
    display:grid!important;
    place-items:center!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0!important;
    border-radius:11px!important;
    font-size:11px!important;
  }

  .site-header .primary-menu-toggle{
    grid-area:toggle!important;
    direction:rtl!important;
    position:relative!important;
    z-index:1005!important;
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    border:1px solid rgba(239,215,156,.42)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.07)!important;
    box-shadow:none!important;
  }
  .site-header .primary-menu-toggle::before,
  .site-header .primary-menu-toggle::after{content:none!important;display:none!important}
  .site-header .primary-menu-toggle-label{display:none!important}
  .site-header .primary-menu-toggle-icon{
    display:grid!important;
    width:20px!important;
    min-width:20px!important;
    height:17px!important;
    margin:0!important;
    padding:0!important;
    align-content:center!important;
    gap:4px!important;
    background:none!important;
  }
  .site-header .primary-menu-toggle-icon i{
    display:block!important;
    width:20px!important;
    height:2px!important;
    margin:0!important;
    border-radius:999px!important;
    background:#fff!important;
    transition:transform .22s ease,opacity .22s ease!important;
  }
  .site-header .primary-menu-toggle.is-open .primary-menu-toggle-icon i:nth-child(1){transform:translateY(6px) rotate(45deg)!important}
  .site-header .primary-menu-toggle.is-open .primary-menu-toggle-icon i:nth-child(2){opacity:0!important}
  .site-header .primary-menu-toggle.is-open .primary-menu-toggle-icon i:nth-child(3){transform:translateY(-6px) rotate(-45deg)!important}

  .site-header .primary-navigation,
  .site-header .primary-navigation.is-open{
    grid-area:nav!important;
    direction:rtl!important;
    position:absolute!important;
    z-index:1004!important;
    top:calc(100% + 1px)!important;
    right:9px!important;
    left:9px!important;
    display:block!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:0 0 18px 18px!important;
    background:linear-gradient(180deg,rgba(9,73,57,.98),rgba(5,52,41,.99))!important;
    box-shadow:0 18px 36px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
    transition:max-height .25s ease,opacity .18s ease,visibility .18s ease!important;
  }
  .site-header .primary-navigation{
    max-height:0!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  .site-header .primary-navigation.is-open{
    max-height:min(66svh,480px)!important;
    overflow-y:auto!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .site-header .primary-menu{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:10px!important;
    gap:7px!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .site-header .primary-menu>li,
  .site-header .primary-menu>li>a{
    width:100%!important;
    min-width:0!important;
  }
  .site-header .primary-menu>li>a{
    justify-content:center!important;
    min-height:43px!important;
    padding:8px 7px!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.055)!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1.35!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .site-header .primary-menu>li>a::after{display:none!important}
  .site-header .primary-menu .sub-menu{display:none!important}
  body.academy-menu-open{overflow:hidden!important}
}

@media (max-width:390px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:minmax(0,1fr) minmax(82px,auto) 42px!important;
    width:calc(100% - 12px)!important;
    gap:5px!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
  .site-header .brand-copy{max-width:104px!important}
  .site-header .brand-copy strong{font-size:12px!important}
  .site-header .dentist-header-access-link{padding-inline:7px!important;font-size:10px!important}
  .site-header .lang{width:32px!important;min-width:32px!important;font-size:10px!important}
  .site-header .primary-menu-toggle{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
}

@media (max-width:340px){
  .site-header .brand-copy{display:none!important}
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:minmax(0,1fr) 42px 42px!important;
  }
}

/* 0.15.12 — final mobile header polish.
   Keep the approved balanced layout, but always show the complete laboratory
   name, enlarge the logo, and render the public menu as a single-column glass panel. */
@media (max-width:640px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:max-content minmax(0,1fr) 46px!important;
    grid-template-areas:
      "actions brand toggle"
      "nav nav nav"!important;
    width:calc(100% - 16px)!important;
    min-height:68px!important;
    gap:6px!important;
    padding:7px 0!important;
  }

  /* Keep the account controls visible while reserving enough room for the full brand. */
  .site-header .header-actions{
    width:max-content!important;
    max-width:none!important;
    justify-content:flex-start!important;
    gap:4px!important;
  }
  .site-header .dentist-header-access{
    width:max-content!important;
    max-width:none!important;
    gap:4px!important;
  }
  .site-header .dentist-header-access-link{
    min-height:36px!important;
    padding:6px 8px!important;
    font-size:10px!important;
  }
  .site-header .lang{
    display:none!important;
  }

  /* Full, unabridged brand: larger logo and no ellipsis or hidden name. */
  .site-header .brand{
    justify-self:end!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    gap:7px!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:50px!important;
    height:50px!important;
    flex:0 0 50px!important;
  }
  .site-header .brand-copy{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow:visible!important;
  }
  .site-header .brand-copy strong{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    overflow:visible!important;
    color:#fff!important;
    font-size:clamp(12.5px,3.75vw,15px)!important;
    font-weight:800!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
  .site-header .brand-copy>span{
    display:none!important;
  }

  .site-header .primary-menu-toggle{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    border:1px solid rgba(255,255,255,.32)!important;
    border-radius:15px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 24px rgba(0,0,0,.14)!important;
    backdrop-filter:blur(18px) saturate(150%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(150%)!important;
  }

  /* A compact glass sheet anchored below the hamburger. */
  .site-header .primary-navigation,
  .site-header .primary-navigation.is-open{
    right:8px!important;
    left:auto!important;
    width:min(270px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.30)!important;
    border-radius:20px!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.22),transparent 42%),
      linear-gradient(145deg,rgba(13,91,72,.78),rgba(4,47,38,.74))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.23),
      inset 0 -1px 0 rgba(255,255,255,.06),
      0 22px 48px rgba(0,34,26,.34)!important;
    backdrop-filter:blur(26px) saturate(165%)!important;
    -webkit-backdrop-filter:blur(26px) saturate(165%)!important;
  }
  .site-header .primary-navigation.is-open{
    max-height:min(72svh,520px)!important;
  }
  .site-header .primary-menu{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    padding:11px!important;
    gap:7px!important;
  }
  .site-header .primary-menu>li,
  .site-header .primary-menu>li>a{
    width:100%!important;
    min-width:0!important;
  }
  .site-header .primary-menu>li>a{
    justify-content:flex-start!important;
    min-height:44px!important;
    padding:9px 14px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:13px!important;
    background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.055))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.35!important;
    text-align:right!important;
    white-space:normal!important;
    transition:background .18s ease,border-color .18s ease,transform .18s ease!important;
  }
  .site-header .primary-menu>li>a:hover,
  .site-header .primary-menu>li>a:focus-visible,
  .site-header .primary-menu>.current-menu-item>a,
  .site-header .primary-menu>.current_page_item>a{
    border-color:rgba(239,215,156,.62)!important;
    background:linear-gradient(135deg,rgba(239,215,156,.22),rgba(255,255,255,.09))!important;
  }
}

@media (max-width:390px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:max-content minmax(0,1fr) 44px!important;
    width:calc(100% - 12px)!important;
    gap:5px!important;
  }
  .site-header .brand{
    gap:5px!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:46px!important;
    height:46px!important;
    flex-basis:46px!important;
  }
  .site-header .brand-copy{
    display:block!important;
    max-width:none!important;
  }
  .site-header .brand-copy strong{
    display:block!important;
    max-width:none!important;
    overflow:visible!important;
    font-size:clamp(11.8px,3.45vw,13.2px)!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
  .site-header .dentist-header-access-link{
    padding-inline:6px!important;
    font-size:9.5px!important;
  }
  .site-header .primary-menu-toggle{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
  }
}

@media (max-width:340px){
  .site-header .brand-copy{
    display:block!important;
  }
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:max-content minmax(0,1fr) 42px!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo{
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important;
  }
  .site-header .brand-copy strong{
    font-size:11.4px!important;
  }
  .site-header .dentist-header-access-link{
    min-height:34px!important;
    padding-inline:5px!important;
    font-size:9px!important;
  }
}

/* 0.15.13 — keep the language switch permanently visible in the mobile header. */
.site-header .mobile-menu-lang{display:none}

@media (max-width:640px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:max-content minmax(0,1fr) 38px 46px!important;
    grid-template-areas:
      "actions brand lang toggle"
      "nav nav nav nav"!important;
  }

  .site-header .mobile-menu-lang{
    grid-area:lang!important;
    direction:ltr!important;
    align-self:center!important;
    justify-self:center!important;
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    min-width:38px!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(239,215,156,.48)!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,rgba(239,215,156,.18),rgba(255,255,255,.07))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 22px rgba(0,0,0,.12)!important;
    color:#f6dfaa!important;
    font-size:11px!important;
    font-weight:900!important;
    line-height:1!important;
    cursor:pointer!important;
    backdrop-filter:blur(18px) saturate(150%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(150%)!important;
  }
  .site-header .mobile-menu-lang:hover,
  .site-header .mobile-menu-lang:focus-visible{
    border-color:rgba(239,215,156,.78)!important;
    background:linear-gradient(145deg,rgba(239,215,156,.26),rgba(255,255,255,.11))!important;
  }
}

@media (max-width:390px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:max-content minmax(0,1fr) 34px 44px!important;
  }
  .site-header .mobile-menu-lang{
    width:34px!important;
    min-width:34px!important;
    height:44px!important;
    min-height:44px!important;
    font-size:10px!important;
  }
}

@media (max-width:340px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top{
    grid-template-columns:max-content minmax(0,1fr) 32px 42px!important;
  }
  .site-header .mobile-menu-lang{
    width:32px!important;
    min-width:32px!important;
    height:42px!important;
    min-height:42px!important;
    border-radius:13px!important;
    font-size:9.5px!important;
  }
}


/* 0.15.15 — controlled header rebuilt from the accepted 0.15.13 base.
   Desktop physical layout is fixed for every user state:
   LEFT = account access + EN, CENTER = WordPress menu, RIGHT = bilingual brand only. */
@media (min-width:981px){
  .site-header,
  .academy-account-page .site-header{
    background:linear-gradient(108deg,#06382f 0%,#0a4a3d 52%,#073d33 100%)!important;
    border-bottom:1px solid rgba(215,188,121,.30)!important;
    box-shadow:0 10px 28px rgba(2,31,25,.20)!important;
    color:#fff!important;
    overflow:visible!important;
  }
  @supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){
    .site-header,
    .academy-account-page .site-header{
      background:linear-gradient(108deg,rgba(6,56,47,.96),rgba(10,74,61,.94),rgba(7,61,51,.96))!important;
      backdrop-filter:blur(16px) saturate(120%)!important;
      -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
    }
  }
  .site-header.is-scrolled,
  .academy-account-page .site-header.is-scrolled{
    background:linear-gradient(108deg,rgba(5,50,42,.98),rgba(8,65,54,.97),rgba(5,54,45,.98))!important;
    border-bottom-color:rgba(215,188,121,.38)!important;
    box-shadow:0 14px 34px rgba(2,31,25,.28)!important;
  }
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:minmax(230px,310px) minmax(0,1fr) minmax(270px,330px)!important;
    grid-template-areas:"actions navigation brand"!important;
    align-items:center!important;
    width:min(1360px,calc(100% - 30px))!important;
    max-width:1360px!important;
    min-height:88px!important;
    margin-inline:auto!important;
    padding:0!important;
    gap:clamp(10px,1.2vw,20px)!important;
    overflow:visible!important;
  }
  .site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{min-height:78px!important}

  .site-header .brand,
  .academy-account-page .site-header .brand{
    grid-area:brand!important;
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    gap:11px!important;
    color:#fff!important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .academy-account-page .site-header .brand img,
  .academy-account-page .site-header .brand .custom-logo{
    width:58px!important;height:58px!important;flex:0 0 58px!important;
    object-fit:contain!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.20))!important;
  }
  .site-header.is-scrolled .brand img,
  .site-header.is-scrolled .brand .custom-logo,
  .academy-account-page .site-header.is-scrolled .brand img,
  .academy-account-page .site-header.is-scrolled .brand .custom-logo{
    width:52px!important;height:52px!important;flex-basis:52px!important;
  }
  .site-header .brand-copy,
  .academy-account-page .site-header .brand-copy{
    direction:ltr!important;display:block!important;min-width:0!important;max-width:245px!important;text-align:right!important;
  }
  .site-header .brand-copy strong,
  .academy-account-page .site-header .brand-copy strong{
    display:block!important;overflow:visible!important;color:#fff!important;
    font-size:clamp(17px,1.38vw,21px)!important;font-weight:800!important;line-height:1.18!important;
    letter-spacing:-.02em!important;text-overflow:clip!important;white-space:nowrap!important;
  }
  .site-header .brand-copy>span,
  .academy-account-page .site-header .brand-copy>span{
    direction:rtl!important;display:block!important;margin-top:4px!important;overflow:hidden!important;
    color:rgba(232,243,239,.78)!important;font-size:10.5px!important;font-weight:500!important;line-height:1.4!important;
    text-overflow:ellipsis!important;white-space:nowrap!important;
  }

  .site-header .primary-navigation,
  .academy-account-page .site-header .primary-navigation{
    grid-area:navigation!important;direction:rtl!important;position:static!important;display:flex!important;
    align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;
  }
  .site-header .primary-menu,
  .academy-account-page .site-header .primary-menu{
    direction:rtl!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;
    width:100%!important;min-width:0!important;margin:0!important;padding:0!important;gap:clamp(1px,.35vw,5px)!important;list-style:none!important;
  }
  .site-header .primary-menu>li,
  .academy-account-page .site-header .primary-menu>li{flex:0 0 auto!important}
  .site-header .primary-menu>li>a,
  .academy-account-page .site-header .primary-menu>li>a{
    position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;
    padding:8px clamp(5px,.58vw,9px)!important;border:0!important;border-radius:9px!important;background:transparent!important;
    color:rgba(247,251,249,.88)!important;font-size:clamp(11px,.82vw,13px)!important;font-weight:700!important;line-height:1.25!important;
    text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;
  }
  .site-header .primary-menu>li>a::after,
  .academy-account-page .site-header .primary-menu>li>a::after{
    right:24%!important;left:24%!important;bottom:3px!important;height:2px!important;background:#d7bc79!important;
  }
  .site-header .primary-menu>li>a:hover,
  .site-header .primary-menu>li>a:focus-visible,
  .site-header .primary-menu>.current-menu-item>a,
  .site-header .primary-menu>.current_page_item>a,
  .academy-account-page .site-header .primary-menu>li>a:hover,
  .academy-account-page .site-header .primary-menu>li>a:focus-visible,
  .academy-account-page .site-header .primary-menu>.current-menu-item>a,
  .academy-account-page .site-header .primary-menu>.current_page_item>a{
    color:#fff!important;background:rgba(255,255,255,.075)!important;
  }

  .site-header .header-actions,
  .academy-account-page .site-header .header-actions{
    grid-area:actions!important;direction:ltr!important;display:flex!important;flex-direction:row-reverse!important;
    align-items:center!important;justify-content:flex-end!important;width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;gap:7px!important;color:#fff!important;
  }
  .site-header .dentist-header-access,
  .academy-account-page .site-header .dentist-header-access{
    direction:rtl!important;display:flex!important;align-items:center!important;flex:0 1 auto!important;min-width:0!important;gap:6px!important;margin:0!important;
  }
  .site-header .dentist-header-access-link,
  .academy-account-page .site-header .dentist-header-access-link{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;padding:7px 10px!important;
    border-radius:11px!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important;
    white-space:nowrap!important;box-shadow:none!important;transform:none!important;
  }
  .site-header .dentist-header-access-link.is-primary,
  .academy-account-page .site-header .dentist-header-access-link.is-primary{
    border:1px solid rgba(255,255,255,.88)!important;background:#f7f3e9!important;color:#123f35!important;
  }
  .site-header .dentist-header-access-link.is-secondary,
  .academy-account-page .site-header .dentist-header-access-link.is-secondary{
    border:1px solid rgba(255,255,255,.30)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;
  }
  .site-header .dentist-header-access-link:hover,
  .academy-account-page .site-header .dentist-header-access-link:hover{
    border-color:#d7bc79!important;background:#fff!important;color:#123f35!important;transform:translateY(-1px)!important;
  }
  .site-header .dentist-header-access-label-full,
  .academy-account-page .site-header .dentist-header-access-label-full{display:inline!important}
  .site-header .dentist-header-access-label-short,
  .academy-account-page .site-header .dentist-header-access-label-short{display:none!important}
  .site-header .lang,
  .academy-account-page .site-header .lang{
    direction:ltr!important;display:grid!important;place-items:center!important;width:43px!important;min-width:43px!important;
    height:39px!important;min-height:39px!important;margin:0!important;padding:0!important;border:1px solid rgba(215,188,121,.62)!important;
    border-radius:11px!important;background:rgba(215,188,121,.10)!important;color:#f1d99d!important;font-size:12px!important;font-weight:900!important;box-shadow:none!important;
  }
  .site-header .lang:hover,
  .academy-account-page .site-header .lang:hover{
    border-color:#e4ca88!important;background:rgba(215,188,121,.18)!important;color:#fff0c4!important;
  }
  .site-header .primary-menu-toggle,.site-header .mobile-menu-lang,
  .academy-account-page .site-header .primary-menu-toggle,.academy-account-page .site-header .mobile-menu-lang{display:none!important}
}
@media (min-width:981px) and (max-width:1180px){
  .site-header .wrap.top,.site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header .wrap.top,.academy-account-page .site-header.is-scrolled .wrap.top{
    grid-template-columns:minmax(205px,245px) minmax(0,1fr) minmax(220px,265px)!important;gap:8px!important;
  }
  .site-header .brand-copy>span,.academy-account-page .site-header .brand-copy>span{font-size:9.5px!important}
  .site-header .primary-menu>li>a,.academy-account-page .site-header .primary-menu>li>a{padding-inline:4px!important;font-size:10.5px!important}
  .site-header .dentist-header-access-label-full,.academy-account-page .site-header .dentist-header-access-label-full{display:none!important}
  .site-header .dentist-header-access-label-short,.academy-account-page .site-header .dentist-header-access-label-short{display:inline!important}
  .site-header .dentist-header-access-link,.academy-account-page .site-header .dentist-header-access-link{padding-inline:8px!important}
}
/* Mobile stays on the accepted 0.15.13 hamburger/glass system; only the Persian tagline is added. */
@media (max-width:640px){
  .site-header .brand-copy>span{
    direction:rtl!important;display:block!important;max-width:100%!important;margin-top:2px!important;overflow:hidden!important;
    color:rgba(255,255,255,.70)!important;font-size:clamp(7.5px,2.1vw,9px)!important;font-weight:500!important;line-height:1.15!important;
    text-overflow:ellipsis!important;white-space:nowrap!important;
  }
}

/* 0.15.16 — transparent green glass finish for the approved header layout.
   Keep the accepted element placement and mobile hamburger behavior,
   but make the header itself use the same translucent green glass language
   as the approved mobile menu panel. */
.site-header,
.academy-account-page .site-header{
  background:transparent!important;
  border-bottom:0!important;
  box-shadow:none!important;
}

@media (min-width:981px){
  .site-header,
  .academy-account-page .site-header{
    padding-top:14px!important;
  }

  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    padding-inline:18px!important;
    border:1px solid rgba(239,215,156,.34)!important;
    border-radius:26px!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.16),transparent 42%),
      linear-gradient(145deg,rgba(14,103,81,.58),rgba(4,56,44,.47))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.17),
      inset 0 -1px 0 rgba(255,255,255,.04),
      0 18px 42px rgba(0,34,26,.18)!important;
    backdrop-filter:blur(24px) saturate(160%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(160%)!important;
  }

  .site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.14),transparent 42%),
      linear-gradient(145deg,rgba(12,96,75,.62),rgba(4,54,42,.50))!important;
  }

  .site-header .primary-menu>li>a,
  .academy-account-page .site-header .primary-menu>li>a{
    color:rgba(249,252,251,.92)!important;
  }

  .site-header .primary-menu>li>a:hover,
  .site-header .primary-menu>li>a:focus-visible,
  .site-header .primary-menu>.current-menu-item>a,
  .site-header .primary-menu>.current_page_item>a,
  .academy-account-page .site-header .primary-menu>li>a:hover,
  .academy-account-page .site-header .primary-menu>li>a:focus-visible,
  .academy-account-page .site-header .primary-menu>.current-menu-item>a,
  .academy-account-page .site-header .primary-menu>.current_page_item>a{
    background:rgba(255,255,255,.08)!important;
  }

  .site-header .dentist-header-access-link.is-primary,
  .academy-account-page .site-header .dentist-header-access-link.is-primary{
    box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 8px 18px rgba(0,0,0,.08)!important;
  }

  .site-header .lang,
  .academy-account-page .site-header .lang{
    background:rgba(215,188,121,.16)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important;
    backdrop-filter:blur(14px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(140%)!important;
  }
}

@media (max-width:640px){
  .site-header,
  .academy-account-page .site-header{
    padding-top:8px!important;
    background:transparent!important;
    border-bottom:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    padding:8px 10px!important;
    border:1px solid rgba(239,215,156,.34)!important;
    border-radius:22px!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.20),transparent 42%),
      linear-gradient(145deg,rgba(14,103,81,.64),rgba(4,56,44,.52))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 0 -1px 0 rgba(255,255,255,.05),
      0 14px 30px rgba(0,34,26,.20)!important;
    backdrop-filter:blur(24px) saturate(160%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(160%)!important;
  }

  .site-header .dentist-header-access-link.is-primary,
  .academy-account-page .site-header .dentist-header-access-link.is-primary{
    border-color:rgba(34,177,138,.72)!important;
    background:linear-gradient(145deg,rgba(20,158,124,.90),rgba(12,134,104,.86))!important;
    color:#fff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
  }

  .site-header .dentist-header-access-link.is-secondary,
  .academy-account-page .site-header .dentist-header-access-link.is-secondary{
    border-color:rgba(255,255,255,.24)!important;
    background:rgba(255,255,255,.08)!important;
    color:#fff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
  }

  .site-header .mobile-menu-lang,
  .academy-account-page .site-header .mobile-menu-lang,
  .site-header .primary-menu-toggle,
  .academy-account-page .site-header .primary-menu-toggle{
    background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.03))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 8px 20px rgba(0,0,0,.10)!important;
    backdrop-filter:blur(22px) saturate(155%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(155%)!important;
  }

  .site-header .primary-navigation,
  .site-header .primary-navigation.is-open,
  .academy-account-page .site-header .primary-navigation,
  .academy-account-page .site-header .primary-navigation.is-open{
    border:1px solid rgba(239,215,156,.32)!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(109,238,206,.18),transparent 42%),
      linear-gradient(145deg,rgba(14,103,81,.58),rgba(4,56,44,.44))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.20),
      inset 0 -1px 0 rgba(255,255,255,.04),
      0 18px 34px rgba(0,34,26,.20)!important;
    backdrop-filter:blur(28px) saturate(170%)!important;
    -webkit-backdrop-filter:blur(28px) saturate(170%)!important;
  }
}

@media (max-width:390px){
  .site-header .wrap.top,
  .site-header.is-scrolled .wrap.top,
  .academy-account-page .site-header .wrap.top,
  .academy-account-page .site-header.is-scrolled .wrap.top{
    padding:7px 8px!important;
    border-radius:20px!important;
  }
}

/* ===== Hero redesign v0.15.18: full-bleed video with glass content overlay ===== */
.home-hero-stage8{
  background:#052e27;
}

.home-hero-scene{
  min-height:clamp(760px,92svh,980px);
  background:#052e27;
}

.home-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,32,26,.16) 0%,rgba(4,32,26,.08) 18%,rgba(4,32,26,.34) 100%);
  z-index:2;
  pointer-events:none;
}

.home-hero-poster,
.home-hero-video{
  object-position:center center;
  transform:scale(1.02);
}

.home-hero-overlay{
  z-index:2;
  background:
    radial-gradient(circle at 78% 30%,rgba(18,123,96,.18),transparent 30%),
    linear-gradient(90deg,rgba(2,24,19,.10) 0%,rgba(2,24,19,.12) 28%,rgba(2,24,19,.46) 70%,rgba(2,24,19,.56) 100%),
    linear-gradient(180deg,rgba(5,34,28,.12) 0%,rgba(5,34,28,.30) 100%);
}

body.en .home-hero-overlay{
  background:
    radial-gradient(circle at 22% 30%,rgba(18,123,96,.18),transparent 30%),
    linear-gradient(270deg,rgba(2,24,19,.10) 0%,rgba(2,24,19,.12) 28%,rgba(2,24,19,.46) 70%,rgba(2,24,19,.56) 100%),
    linear-gradient(180deg,rgba(5,34,28,.12) 0%,rgba(5,34,28,.30) 100%);
}

.home-hero-glow{
  z-index:3;
  filter:blur(54px);
  opacity:.48;
}

.home-hero-glow-one{
  width:clamp(320px,34vw,520px);
  top:-10%;
  inset-inline-end:8%;
  background:radial-gradient(circle,rgba(78,216,180,.24),transparent 70%);
}

.home-hero-glow-two{
  width:clamp(260px,24vw,420px);
  bottom:-20%;
  inset-inline-start:8%;
  background:radial-gradient(circle,rgba(235,198,112,.20),transparent 72%);
}

.home-hero-layout{
  z-index:4;
  align-items:end;
  min-height:inherit;
  padding-top:clamp(110px,16vh,150px);
  padding-bottom:clamp(46px,7vh,72px);
}

.home-hero-content-stack{
  width:min(100%,760px);
  margin-inline-start:auto;
  display:grid;
  gap:18px;
}

body.en .home-hero-content-stack{
  margin-inline-start:0;
  margin-inline-end:auto;
}

.home-hero-content{
  justify-self:stretch;
  width:100%;
  max-width:none;
  min-height:0;
  padding:clamp(28px,2.6vw,38px);
  border-radius:32px;
  text-align:right;
}

body.en .home-hero-content{
  text-align:left;
}

.home-hero-glass-panel{
  background:linear-gradient(145deg,rgba(12,75,60,.54),rgba(6,46,36,.40));
  border:1px solid rgba(239,215,156,.34);
  box-shadow:0 26px 60px rgba(0,26,20,.28), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(255,255,255,.04);
}

@supports ((backdrop-filter:blur(26px)) or (-webkit-backdrop-filter:blur(26px))){
  .home-hero-glass-panel{
    background:linear-gradient(145deg,rgba(12,75,60,.42),rgba(6,46,36,.28));
    backdrop-filter:blur(24px) saturate(145%);
    -webkit-backdrop-filter:blur(24px) saturate(145%);
  }
}

.home-hero-eyebrow{
  display:inline-flex;
  justify-content:flex-start;
  width:auto;
  padding:10px 16px;
  border:1px solid rgba(239,215,156,.22);
  border-radius:999px;
  background:rgba(239,215,156,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  margin-bottom:18px;
  font-size:14px;
}

.home-hero-eyebrow-mark{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#e8ca7b;
  box-shadow:0 0 14px rgba(232,202,123,.45);
}

.home-hero-content h1{
  max-width:12.5ch;
  margin-inline-end:0;
  font-size:clamp(2.75rem,4.2vw,4.4rem);
  line-height:1.14;
  letter-spacing:-.04em;
  text-shadow:0 10px 32px rgba(0,0,0,.18);
}

.home-hero-subtitle{
  margin:16px 0 0;
  color:#e7c980;
  font-size:clamp(1.15rem,1.45vw,1.58rem);
  font-weight:900;
  line-height:1.45;
  text-shadow:0 6px 18px rgba(0,0,0,.16);
  animation:academyHeroItemIn .62s .27s ease-out both;
}

.home-hero-intro{
  max-width:50ch;
  margin:18px 0 0;
  margin-inline-end:0;
  color:rgba(255,255,255,.92);
  font-size:clamp(1rem,1.05vw,1.08rem);
  line-height:2;
}

.home-hero-actions{
  justify-content:flex-start;
  gap:14px;
  margin-top:24px;
}

.home-hero-cta{
  min-height:58px;
  padding:14px 26px;
  border-radius:18px;
  font-size:1.02rem;
  font-weight:900;
}

.home-hero-cta-primary{
  min-width:280px;
  background:linear-gradient(135deg,#ecd48a,#d9b15c);
  color:#12372f;
}

.home-hero-cta-secondary{
  min-width:260px;
  background:rgba(8,58,46,.52);
  border-color:rgba(239,215,156,.28);
  color:#fff;
}

@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
  .home-hero-cta-secondary{
    background:rgba(8,58,46,.34);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
}

.home-hero-cta-icon,
.home-hero-cta-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.2em;
  height:1.2em;
  font-size:1.05em;
}

.home-hero-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  border:1px solid rgba(239,215,156,.24);
  border-radius:28px;
  background:linear-gradient(145deg,rgba(11,73,58,.52),rgba(5,44,35,.38));
  box-shadow:0 18px 42px rgba(0,24,19,.20), inset 0 1px 0 rgba(255,255,255,.12);
  overflow:hidden;
}

@supports ((backdrop-filter:blur(22px)) or (-webkit-backdrop-filter:blur(22px))){
  .home-hero-metrics{
    background:linear-gradient(145deg,rgba(11,73,58,.40),rgba(5,44,35,.28));
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
  }
}

.home-hero-metric{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:96px;
  padding:20px 22px;
  color:#fff;
}

.home-hero-metric + .home-hero-metric{
  border-inline-start:1px solid rgba(255,255,255,.10);
}

.home-hero-metric strong{
  display:block;
  color:#f6f4ef;
  font-size:1rem;
  font-weight:800;
  line-height:1.7;
}

.home-hero-metric-icon{
  display:grid;
  place-items:center;
  flex:0 0 48px;
  width:48px;
  height:48px;
  border-radius:16px;
  color:#e7c980;
  background:rgba(239,215,156,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}

.home-hero-metric-icon svg{
  width:24px;
  height:24px;
  fill:currentColor;
}

.home-hero-video-toggle{
  z-index:5;
  inset-inline-end:clamp(18px,2.8vw,38px);
  bottom:clamp(18px,2.8vw,32px);
  width:54px;
  height:54px;
  border-radius:18px;
  border:1px solid rgba(239,215,156,.28);
  background:rgba(6,52,41,.46);
  box-shadow:0 16px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
}

@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
  .home-hero-video-toggle{
    background:rgba(6,52,41,.32);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
}

.home-hero-video-toggle:hover{
  background:rgba(6,52,41,.56);
}

@media (max-width:1180px){
  .home-hero-content-stack{
    width:min(100%,700px);
  }

  .home-hero-content h1{
    font-size:clamp(2.45rem,4.8vw,3.7rem);
  }

  .home-hero-cta-primary,
  .home-hero-cta-secondary{
    min-width:0;
  }
}

@media (max-width:980px){
  .home-hero-scene{
    min-height:clamp(760px,96svh,980px);
  }

  .home-hero-layout{
    align-items:end;
    padding-top:clamp(120px,20svh,170px);
  }

  .home-hero-content-stack{
    width:min(100%,680px);
    margin-inline:auto;
  }

  .home-hero-content h1{
    max-width:13ch;
  }
}

@media (max-width:640px){
  .home-hero-scene{
    min-height:clamp(780px,112svh,1040px);
  }

  .home-hero-layout{
    width:calc(100% - 28px);
    padding-top:clamp(104px,19svh,138px);
    padding-bottom:88px;
  }

  .home-hero-content-stack{
    width:100%;
    gap:14px;
  }

  .home-hero-overlay,
  body.en .home-hero-overlay{
    background:
      linear-gradient(180deg,rgba(4,32,26,.12) 0%,rgba(4,32,26,.22) 26%,rgba(4,32,26,.48) 62%,rgba(4,32,26,.60) 100%),
      radial-gradient(circle at 50% 22%,rgba(78,216,180,.13),transparent 32%);
  }

  .home-hero-content{
    padding:22px 16px 20px;
    border-radius:26px;
  }

  .home-hero-glass-panel{
    background:linear-gradient(145deg,rgba(12,75,60,.50),rgba(6,46,36,.34));
  }

  @supports ((backdrop-filter:blur(24px)) or (-webkit-backdrop-filter:blur(24px))){
    .home-hero-glass-panel{
      background:linear-gradient(145deg,rgba(12,75,60,.34),rgba(6,46,36,.22));
      backdrop-filter:blur(22px) saturate(145%);
      -webkit-backdrop-filter:blur(22px) saturate(145%);
    }
  }

  .home-hero-eyebrow{
    margin-bottom:14px;
    padding:8px 12px;
    font-size:12px;
  }

  .home-hero-content h1{
    max-width:none;
    font-size:clamp(2.2rem,10.2vw,3.05rem);
    line-height:1.18;
  }

  .home-hero-subtitle{
    margin-top:14px;
    font-size:clamp(1rem,5vw,1.28rem);
  }

  .home-hero-intro{
    margin-top:14px;
    font-size:.96rem;
    line-height:1.92;
  }

  .home-hero-actions{
    grid-template-columns:1fr 1fr;
    display:grid;
    gap:10px;
    margin-top:18px;
  }

  .home-hero-cta{
    width:100%;
    min-height:52px;
    padding:12px 14px;
    border-radius:18px;
    font-size:.98rem;
  }

  .home-hero-metrics{
    grid-template-columns:1fr;
    border-radius:24px;
  }

  .home-hero-metric{
    min-height:72px;
    padding:14px 16px;
  }

  .home-hero-metric + .home-hero-metric{
    border-inline-start:0;
    border-top:1px solid rgba(255,255,255,.10);
  }

  .home-hero-metric strong{
    font-size:.96rem;
    line-height:1.6;
  }

  .home-hero-metric-icon{
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:14px;
  }

  .home-hero-video-toggle{
    width:46px;
    height:46px;
    border-radius:16px;
    inset-inline-end:12px;
    bottom:18px;
  }
}

@media (max-width:420px){
  .home-hero-layout{
    width:calc(100% - 20px);
    padding-top:112px;
  }

  .home-hero-actions{
    grid-template-columns:1fr;
  }
}

/* 0.15.20 — compact, highly transparent hero panel at lower-right.
   Keeps the existing full-bleed video and all admin-connected hero settings. */
.home-hero-scene{
  min-height:clamp(720px,88svh,900px)!important;
}

.home-hero-layout{
  align-items:end!important;
  padding-top:clamp(110px,15vh,145px)!important;
  padding-bottom:clamp(34px,5vh,54px)!important;
}

.home-hero-content-stack{
  width:min(100%,610px)!important;
  margin-inline-start:auto!important;
  gap:12px!important;
}

body.en .home-hero-content-stack{
  margin-inline-start:0!important;
  margin-inline-end:auto!important;
}

.home-hero-content{
  width:100%!important;
  max-width:none!important;
  padding:clamp(20px,2vw,28px)!important;
  border-radius:26px!important;
}

.home-hero-glass-panel{
  background:linear-gradient(145deg,rgba(10,71,56,.24),rgba(4,42,33,.14))!important;
  border-color:rgba(239,215,156,.26)!important;
  box-shadow:0 18px 42px rgba(0,26,20,.18),inset 0 1px 0 rgba(255,255,255,.14)!important;
}

@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){
  .home-hero-glass-panel{
    background:linear-gradient(145deg,rgba(10,71,56,.18),rgba(4,42,33,.10))!important;
    backdrop-filter:blur(15px) saturate(126%)!important;
    -webkit-backdrop-filter:blur(15px) saturate(126%)!important;
  }
}

.home-hero-content h1{
  max-width:13ch!important;
  font-size:clamp(2.15rem,3.15vw,3.35rem)!important;
  line-height:1.22!important;
}

.home-hero-eyebrow{
  margin-bottom:12px!important;
  padding:8px 13px!important;
  background:rgba(239,215,156,.06)!important;
  font-size:12.5px!important;
}

.home-hero-subtitle{
  margin-top:10px!important;
  font-size:clamp(1rem,1.2vw,1.28rem)!important;
}

.home-hero-intro{
  max-width:48ch!important;
  margin-top:12px!important;
  font-size:clamp(.92rem,.95vw,1rem)!important;
  line-height:1.88!important;
}

.home-hero-actions{
  margin-top:16px!important;
  gap:10px!important;
}

.home-hero-cta{
  min-height:50px!important;
  padding:11px 18px!important;
  border-radius:15px!important;
  font-size:.95rem!important;
}

.home-hero-cta-primary,
.home-hero-cta-secondary{
  min-width:0!important;
  flex:1 1 0!important;
}

.home-hero-cta-secondary{
  background:rgba(7,54,43,.22)!important;
}

@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
  .home-hero-cta-secondary{
    background:rgba(7,54,43,.14)!important;
    backdrop-filter:blur(10px)!important;
    -webkit-backdrop-filter:blur(10px)!important;
  }
}

.home-hero-metrics{
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(10,71,56,.22),rgba(4,42,33,.12))!important;
  border-color:rgba(239,215,156,.22)!important;
  box-shadow:0 14px 34px rgba(0,24,19,.14),inset 0 1px 0 rgba(255,255,255,.10)!important;
}

@supports ((backdrop-filter:blur(14px)) or (-webkit-backdrop-filter:blur(14px))){
  .home-hero-metrics{
    background:linear-gradient(145deg,rgba(10,71,56,.16),rgba(4,42,33,.08))!important;
    backdrop-filter:blur(13px) saturate(122%)!important;
    -webkit-backdrop-filter:blur(13px) saturate(122%)!important;
  }
}

.home-hero-metric{
  min-height:74px!important;
  padding:13px 14px!important;
  gap:9px!important;
}

.home-hero-metric-icon{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
  border-radius:12px!important;
}

.home-hero-metric-icon svg{
  width:20px!important;
  height:20px!important;
}

.home-hero-metric strong{
  font-size:.82rem!important;
  line-height:1.55!important;
}

.home-hero-overlay{
  background:
    radial-gradient(circle at 78% 30%,rgba(18,123,96,.10),transparent 28%),
    linear-gradient(90deg,rgba(2,24,19,.04) 0%,rgba(2,24,19,.06) 38%,rgba(2,24,19,.18) 76%,rgba(2,24,19,.24) 100%),
    linear-gradient(180deg,rgba(5,34,28,.04) 0%,rgba(5,34,28,.16) 100%)!important;
}

body.en .home-hero-overlay{
  background:
    radial-gradient(circle at 22% 30%,rgba(18,123,96,.10),transparent 28%),
    linear-gradient(270deg,rgba(2,24,19,.04) 0%,rgba(2,24,19,.06) 38%,rgba(2,24,19,.18) 76%,rgba(2,24,19,.24) 100%),
    linear-gradient(180deg,rgba(5,34,28,.04) 0%,rgba(5,34,28,.16) 100%)!important;
}

@media (max-width:980px){
  .home-hero-content-stack{
    width:min(100%,590px)!important;
    margin-inline:auto!important;
  }
}

@media (max-width:640px){
  .home-hero-scene{
    min-height:clamp(760px,108svh,980px)!important;
  }

  .home-hero-layout{
    align-items:end!important;
    width:calc(100% - 22px)!important;
    padding-top:clamp(110px,18svh,140px)!important;
    padding-bottom:76px!important;
  }

  .home-hero-content-stack{
    width:100%!important;
    gap:10px!important;
  }

  .home-hero-content{
    padding:18px 14px!important;
    border-radius:22px!important;
  }

  .home-hero-glass-panel{
    background:linear-gradient(145deg,rgba(10,71,56,.24),rgba(4,42,33,.14))!important;
  }

  @supports ((backdrop-filter:blur(14px)) or (-webkit-backdrop-filter:blur(14px))){
    .home-hero-glass-panel{
      background:linear-gradient(145deg,rgba(10,71,56,.16),rgba(4,42,33,.09))!important;
      backdrop-filter:blur(14px) saturate(122%)!important;
      -webkit-backdrop-filter:blur(14px) saturate(122%)!important;
    }
  }

  .home-hero-content h1{
    max-width:none!important;
    font-size:clamp(1.9rem,8.8vw,2.6rem)!important;
  }

  .home-hero-intro{
    font-size:.9rem!important;
    line-height:1.82!important;
  }

  .home-hero-actions{
    grid-template-columns:1fr 1fr!important;
  }

  .home-hero-metrics{
    grid-template-columns:1fr!important;
  }

  .home-hero-metric{
    min-height:58px!important;
    padding:10px 12px!important;
  }

  .home-hero-metric + .home-hero-metric{
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
}

/* 0.15.21 — move hero text card to the lower-right and make it smaller */
.home-hero-layout{
  padding-top:clamp(134px,18vh,176px)!important;
  padding-bottom:clamp(26px,4vh,42px)!important;
}

.home-hero-content-stack{
  width:min(100%,500px)!important;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
  align-self:end!important;
  transform:translateY(18px)!important;
}

body.en .home-hero-content-stack{
  margin-inline-start:0!important;
  margin-inline-end:auto!important;
}

.home-hero-content{
  padding:18px 18px 16px!important;
  border-radius:22px!important;
}

.home-hero-content h1{
  max-width:10.5ch!important;
  font-size:clamp(1.95rem,2.7vw,3rem)!important;
  line-height:1.18!important;
}

.home-hero-subtitle{
  margin-top:8px!important;
  font-size:clamp(.95rem,1.05vw,1.14rem)!important;
}

.home-hero-intro{
  margin-top:10px!important;
  max-width:36ch!important;
  font-size:clamp(.88rem,.90vw,.96rem)!important;
  line-height:1.78!important;
}

.home-hero-actions{
  margin-top:14px!important;
  gap:8px!important;
}

.home-hero-cta{
  min-height:46px!important;
  padding:10px 14px!important;
  font-size:.9rem!important;
}

.home-hero-metrics{
  width:100%!important;
  max-width:500px!important;
  border-radius:18px!important;
}

.home-hero-metric{
  min-height:64px!important;
  padding:10px 12px!important;
}

.home-hero-metric strong{
  font-size:.78rem!important;
}

@media (max-width:980px){
  .home-hero-content-stack{
    width:min(100%,470px)!important;
    transform:translateY(10px)!important;
  }

  .home-hero-metrics{
    max-width:470px!important;
  }
}

@media (max-width:640px){
  .home-hero-layout{
    padding-top:clamp(110px,18svh,140px)!important;
    padding-bottom:76px!important;
  }

  .home-hero-content-stack{
    width:min(100%,420px)!important;
    transform:none!important;
  }

  .home-hero-content{
    padding:16px 13px!important;
    border-radius:20px!important;
  }

  .home-hero-content h1{
    max-width:11ch!important;
    font-size:clamp(1.8rem,8.3vw,2.4rem)!important;
  }

  .home-hero-intro{
    max-width:none!important;
  }

  .home-hero-metrics{
    max-width:none!important;
  }
}

/* 0.15.22 — fix Persian hero card position to true lower-right */
body:not(.en) .home-hero-content-stack{
  margin-left:auto !important;
  margin-right:0 !important;
  justify-items:end !important;
  align-self:end !important;
}

body:not(.en) .home-hero-content,
body:not(.en) .home-hero-metrics{
  margin-left:auto !important;
  margin-right:0 !important;
}

body:not(.en) .home-hero-content{
  text-align:right !important;
}

body.en .home-hero-content-stack{
  margin-left:0 !important;
  margin-right:auto !important;
  justify-items:start !important;
}

body.en .home-hero-content,
body.en .home-hero-metrics{
  margin-left:0 !important;
  margin-right:auto !important;
  text-align:left !important;
}

@media (max-width:640px){
  body:not(.en) .home-hero-content-stack,
  body.en .home-hero-content-stack{
    margin-left:auto !important;
    margin-right:auto !important;
    justify-items:stretch !important;
  }

  body:not(.en) .home-hero-content,
  body:not(.en) .home-hero-metrics,
  body.en .home-hero-content,
  body.en .home-hero-metrics{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* 0.16.19 — professional manager portrait on the About page */
.about-manager-portrait{
  position:relative;
  height:clamp(330px,38vw,500px);
  margin:-28px -28px 26px;
  overflow:hidden;
  border-radius:28px 28px 24px 24px;
  background:linear-gradient(145deg,#18241f,#3a3d35);
}
.about-manager-portrait::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 54%,rgba(5,28,21,.58) 100%);
  pointer-events:none;
}
.about-manager-portrait img{
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  object-fit:cover;
  object-position:center 23%;
  background:transparent;
  filter:saturate(.9) contrast(1.03);
  transform:scale(1.015);
}
.about-manager-portrait span{
  position:absolute;
  z-index:2;
  left:24px;
  bottom:22px;
  width:52px;
  height:2px;
  background:linear-gradient(90deg,#d2ad60,transparent);
  box-shadow:0 0 24px rgba(210,173,96,.45);
}
@media(max-width:720px){
  .about-manager-portrait{height:420px}
}
