/* Agata Solar 1.1.7: refined desktop, isolated from phone/tablet layouts. */
.desktop-instagram{display:none}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
  html.agata-site-refined body{
    --dt-width:min(1320px,calc(100% - clamp(80px,9vw,176px)));
    --dt-border:#29276922;
    --dt-soft:#f0efeb;
    --dt-ease:cubic-bezier(.22,.7,.2,1);
  }
  html.agata-site-refined .wrap{width:var(--dt-width)}
  html.agata-site-refined .section-space{padding-block:clamp(96px,8.5vw,144px)}
  html.agata-site-refined .section-label{
    font-size:10px;letter-spacing:.15em;margin-bottom:52px;line-height:1.6;
    padding-bottom:20px;border-bottom:1px solid var(--dt-border);
  }
  html.agata-site-refined .section-label>span:last-child{letter-spacing:.06em}
  html.agata-site-refined .eyebrow{font-size:10px;letter-spacing:.16em;line-height:1.6}
  html.agata-site-refined .button{
    min-height:56px;padding:15px 24px;border-radius:5px;font-size:13px;
    gap:44px;transition:background .2s,color .2s,border-color .2s,transform .25s var(--dt-ease);
  }
  html.agata-site-refined .button:hover{transform:translateY(-2px)}
  html.agata-site-refined .button-gold{background:#f5bf57;box-shadow:0 3px 0 #08091a12}
  html.agata-site-refined .button-gold:hover{background:#ffd181}
  html.agata-site-refined .button-blue{background:#292769}
  html.agata-site-refined .button-blue:hover{background:#3a357f}
  html.agata-site-refined .text-link{font-size:13px;min-height:40px;padding-bottom:9px;border-color:#29276950;gap:32px}
  html.agata-site-refined .text-link.light{border-color:#f5bf5766}
  html.agata-site-refined a:focus-visible,
  html.agata-site-refined button:focus-visible{outline:2px solid #9a75de;outline-offset:6px}

  /* A calm masthead: identity, navigation, social proof, then conversation. */
  html.agata-site-refined .header{
    height:92px;padding-inline:max(40px,calc((100% - 1320px)/2));gap:25px;
    border-color:#29276914;background:#faf9f6f5;position:sticky;top:0;
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    transition:transform .32s var(--dt-ease),box-shadow .25s;
  }
  html.agata-site-refined .header.dt-scene{transform:translateY(-110%)}
  html.agata-site-refined .header.dt-scrolled:not(.dt-scene){box-shadow:0 6px 24px #18162e06}
  html.agata-site-refined .header .brand{width:142px}
  html.agata-site-refined .desktop-nav{font-size:12px;gap:clamp(20px,2.4vw,38px)}
  html.agata-site-refined .desktop-nav a{position:relative;padding-block:16px;color:#4b4960;transition:color .2s}
  html.agata-site-refined .desktop-nav a::after{
    content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:#c69b46;
    transform:scaleX(0);transform-origin:left;transition:transform .25s var(--dt-ease);
  }
  html.agata-site-refined .desktop-nav a:hover,
  html.agata-site-refined .desktop-nav a[aria-current="page"]{color:#292769;box-shadow:none}
  html.agata-site-refined .desktop-nav a:hover::after,
  html.agata-site-refined .desktop-nav a[aria-current="page"]::after{transform:scaleX(1)}
  html.agata-site-refined .header .desktop-instagram{
    display:grid;place-items:center;width:44px;height:44px;flex:none;
    border:1px solid #29276920;border-radius:50%;color:#292769;transition:border-color .2s,background .2s;
  }
  html.agata-site-refined .desktop-instagram svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}
  html.agata-site-refined .desktop-instagram:hover{border-color:#c69b46;background:#f7edd8}
  html.agata-site-refined .header-contact{
    min-height:44px;padding:10px 15px 10px 19px;border:1px solid #29276926;
    border-radius:5px;font-size:12px;gap:24px;transition:background .2s,border-color .2s;
  }
  html.agata-site-refined .header-contact:hover{background:#292769;color:#fff;border-color:#292769}
  html.agata-site-refined .header-contact span{font-size:20px}

  /* Framed opening, full-scale photograph, measured type. */
  html.agata-site-refined body.home .hero{
    margin:0 28px 28px;border-radius:8px;
    height:clamp(620px,calc(100svh - 120px),900px);min-height:0;max-height:none;
    background:#15142f;isolation:isolate;
  }
  html.agata-site-refined body.home .hero-photo{
    inset:0 0 0 25%;background-position:63% center;animation:none;transform:scale(1.015);
  }
  html.agata-site-refined body.home .hero-veil{
    background:linear-gradient(90deg,#15142f 0%,#1a1843fa 24%,#211d53bd 46%,#1b18463d 66%,#15142f03 90%),linear-gradient(0deg,#1413299e,transparent 33%);
    animation:none;opacity:1;
  }
  html.agata-site-refined body.home .hero-copy{
    width:calc(100% - clamp(80px,9vw,144px));padding-top:clamp(54px,8vh,94px);max-width:1320px;
  }
  html.agata-site-refined body.home .hero .eyebrow{font-size:9px;color:#eee1bd;margin-bottom:26px;letter-spacing:.16em}
  html.agata-site-refined body.home .hero h1{
    font-size:clamp(76px,6.8vw,116px);line-height:1.045;letter-spacing:-.063em;max-width:720px;
  }
  html.agata-site-refined body.home .hero .type-line{min-height:1.045em}
  html.agata-site-refined body.home .hero-bottom{margin-top:24px;gap:23px;max-width:485px}
  html.agata-site-refined body.home .hero-bottom p{font-size:14px;line-height:1.8;color:#e4e1ed}
  html.agata-site-refined body.home .hero-caption{
    left:clamp(40px,4.5vw,72px);right:clamp(40px,4.5vw,72px);bottom:25px;
    font-size:9px;letter-spacing:.15em;color:#efeaf3c2;padding-top:18px;border-top:1px solid #ffffff24;
  }
  html.agata-site-refined body.home .hero-caption span span{font-size:17px}
  html.agata-site-refined body.home .client-names{padding:28px 0 40px;border:0;background:var(--paper)}
  html.agata-site-refined body.home .client-names>.wrap{gap:42px}
  html.agata-site-refined body.home .client-names p{font-size:9px;letter-spacing:.1em;line-height:1.85;max-width:148px}
  html.agata-site-refined body.home .client-names .wrap>div{border-inline:1px solid var(--dt-border);padding:6px 34px;gap:35px}
  html.agata-site-refined body.home .client-names span{font-size:17px;font-weight:500;color:#45416d;white-space:nowrap}
  html.agata-site-refined body.home .client-names a{text-decoration:none;border-bottom:1px solid #bcb5aa;padding-bottom:3px}

  /* The original Manrope glyphs and scroll progression are kept intact. */
  html.agata-site-refined body.home .manifesto{padding-block:106px 112px;background:#f4f3ef}
  html.agata-site-refined body.home .manifesto .section-label{margin-bottom:56px}
  html.agata-site-refined body.home .manifesto h2{font-size:clamp(58px,5.25vw,86px);font-weight:500;line-height:1.16;letter-spacing:-.066em}
  html.agata-site-refined body.home .manifesto-bottom{max-width:900px;gap:68px;margin-top:42px}
  html.agata-site-refined body.home .manifesto-bottom p{font-size:14px;line-height:1.85;max-width:505px}
  html.agata-site-refined body.home .manifesto .agata-outline-toggle{font-size:10px;opacity:.72;margin-top:20px}

  /* Captions refined without changing the stories' scroll geometry/camera. */
  html.agata-site-refined body.home .clean-heading{padding-top:64px}
  html.agata-site-refined body.home .clean-heading h2{font-size:clamp(54px,5.1vw,80px);line-height:1.08;max-width:760px}
  html.agata-site-refined body.home .clean-meter{right:max(50px,calc((100vw - 1320px)/2));top:37%}
  html.agata-site-refined body.home .clean-meter>span{font-size:10px;letter-spacing:.16em}
  html.agata-site-refined body.home .clean-meter strong{font-size:clamp(112px,11vw,166px)}
  html.agata-site-refined body.home .clean-meter small{font-size:10px;color:#e2ddeb}
  html.agata-site-refined body.home .story-bottom{bottom:66px;grid-template-columns:1fr 180px auto;gap:55px}
  html.agata-site-refined body.home .story-caption h3{font-size:27px;letter-spacing:-.04em}
  html.agata-site-refined body.home .story-caption p{font-size:13px;line-height:1.8}
  html.agata-site-refined body.home .phase-label{font-size:10px;letter-spacing:.16em}
  html.agata-site-refined body.home .care-grid{grid-template-columns:1fr 1fr;gap:10%;align-items:center}
  html.agata-site-refined body.home .care-photo-thermal{height:auto;aspect-ratio:1;border-radius:6px}
  html.agata-site-refined body.home .care-photo-thermal img{object-fit:cover;object-position:center}
  html.agata-site-refined body.home .care-photo>span{font-size:11px;bottom:22px;left:25px}
  html.agata-site-refined body.home .care-copy h2{font-size:clamp(48px,4.25vw,68px);line-height:1.08;letter-spacing:-.06em}
  html.agata-site-refined body.home .care-copy>p:not(.eyebrow){font-size:14px;line-height:1.85;margin-top:24px}
  html.agata-site-refined body.home .care-list{margin:30px 0}
  html.agata-site-refined body.home .care-list>div{padding:20px 0 20px 42px}
  html.agata-site-refined body.home .care-list span{font-size:10px;top:24px;color:#a4843f}
  html.agata-site-refined body.home .care-list h3{font-size:15px;letter-spacing:-.025em;margin-bottom:6px}
  html.agata-site-refined body.home .care-list p{font-size:12px;line-height:1.8}
  html.agata-site-refined body.home .hybrid-cinematic .hybrid-heading h2{font-size:clamp(46px,4.3vw,70px);line-height:1.1;max-width:1040px}
  html.agata-site-refined body.home .hybrid-cinematic .hybrid-bottom h3{font-size:clamp(28px,2.55vw,38px);letter-spacing:-.045em}
  html.agata-site-refined body.home .hybrid-cinematic .hybrid-bottom p{font-size:13px;line-height:1.8}
  html.agata-site-refined body.home .hybrid-cinematic .hybrid-note{left:max(50px,calc((100vw - 1320px)/2));font-size:10px}

  /* Energy panel: light edges, quiet depth; animated routes stay untouched. */
  html.agata-site-refined .energy-scenarios{padding-block:76px 106px;background:#111128}
  html.agata-site-refined .energy-scenarios__panel{width:var(--dt-width);grid-template-columns:43% 57%;border:1px solid #f5bf5726;border-radius:8px;background:#17162f}
  html.agata-site-refined .energy-scenarios__content{padding:44px 38px;border-color:#ffffff14}
  html.agata-site-refined .energy-scenarios__eyebrow{font-size:10px;letter-spacing:.16em;margin-bottom:27px}
  html.agata-site-refined .energy-scenarios__title{font-size:clamp(32px,3.1vw,46px);letter-spacing:-.05em;line-height:1.12}
  html.agata-site-refined .energy-scenarios__copy{font-size:13px;line-height:1.9;min-height:8em;margin-top:24px;color:#cbc7da}
  html.agata-site-refined .energy-scenarios__controls{gap:7px;margin:24px 0}
  html.agata-site-refined .energy-scenarios__button{font-size:11px;min-height:44px;padding:10px 12px;border-color:#d7cee944}
  html.agata-site-refined .energy-scenarios__button[aria-pressed="true"]{background:#f5bf57;border-color:#f5bf57}
  html.agata-site-refined .energy-scenarios__note{font-size:11px;line-height:1.8;color:#aaa6be}
  html.agata-site-refined .energy-scenarios__link{font-size:12px;margin-top:25px;gap:18px}
  html.agata-site-refined .energy-scenarios__visual{padding:35px 16px 24px}
  html.agata-site-refined .energy-scenarios__node{border-radius:5px;background:#17162f;border-color:#ffffff1c;padding:17px}
  html.agata-site-refined .energy-scenarios__node[data-active="true"]{border-color:#e4b657ad;box-shadow:0 0 25px #f5bf5705}
  html.agata-site-refined .energy-scenarios__node-kind{font-size:9px;letter-spacing:.12em}
  html.agata-site-refined .energy-scenarios__node-title{font-size:15px;line-height:1.45}
  html.agata-site-refined .energy-scenarios__node-status{font-size:11px;line-height:1.5}
  html.agata-site-refined .energy-scenarios__caption{font-size:10px;line-height:1.7;color:#b0acc4}
  html.agata-site-refined .energy-scenarios__motion-toggle{font-size:10px;right:18px;color:#c5bfd6}

  html.agata-site-refined body.home .solutions{background:#faf9f6}
  html.agata-site-refined body.home .solution-heading{gap:100px;margin-bottom:58px}
  html.agata-site-refined body.home .solution-heading h2{font-size:clamp(52px,4.7vw,76px);line-height:1.08}
  html.agata-site-refined body.home .solution-heading p{max-width:352px;font-size:14px;line-height:1.9}
  html.agata-site-refined body.home .solution-links>a{padding:32px 8px;grid-template-columns:60px 1fr 245px 42px;gap:22px;transition:color .2s,background .2s}
  html.agata-site-refined body.home .solution-links>a:hover{padding-inline:8px;background:#f1efea}
  html.agata-site-refined body.home .solution-links h3{font-size:clamp(25px,2.3vw,34px);letter-spacing:-.045em}
  html.agata-site-refined body.home .solution-desc{font-size:11px;line-height:1.6}
  html.agata-site-refined body.home .solution-no{font-size:10px;color:#9f7d37}
  html.agata-site-refined body.home .solution-links b{font-size:24px;transition:transform .25s var(--dt-ease)}
  html.agata-site-refined body.home .solution-links>a:hover b{transform:translate(3px,-3px)}

  /* Photographs are the evidence; captions stay readable outside the picture. */
  html.agata-site-refined body.home .projects{background:#f0efeb}
  html.agata-site-refined body.home .projects h2{font-size:clamp(52px,4.7vw,76px);line-height:1.08;margin-bottom:54px}
  html.agata-site-refined body.home .project-grid{grid-template-columns:1.14fr 1fr 1fr;grid-template-rows:auto;gap:24px;align-items:stretch}
  html.agata-site-refined body.home .project-feature{grid-row:auto}
  html.agata-site-refined body.home .project-card{display:flex;flex-direction:column;background:#faf9f6;border:1px solid #29276915;border-radius:6px;color:#292769;isolation:isolate}
  html.agata-site-refined body.home .project-card::after{display:none}
  html.agata-site-refined body.home .project-card img{height:300px;width:100%;object-fit:cover;transition:transform .55s var(--dt-ease)}
  html.agata-site-refined body.home .project-card:hover img{transform:scale(1.025)}
  html.agata-site-refined body.home .project-card>div{position:relative;inset:auto;padding:27px 25px 30px;background:#faf9f6;flex:1}
  html.agata-site-refined body.home .project-card span{font-size:9px;letter-spacing:.13em;color:#777082}
  html.agata-site-refined body.home .project-card h3{font-size:26px;line-height:1.3;letter-spacing:-.04em;margin-top:9px;padding-right:25px}
  html.agata-site-refined body.home .project-card b{right:25px;bottom:34px;font-size:23px;font-weight:400}

  html.agata-site-refined body.home .trust{background:#232153}
  html.agata-site-refined body.home .trust-grid{grid-template-columns:1fr 1fr;gap:10%;align-items:center}
  html.agata-site-refined body.home .trust h2{font-size:clamp(43px,3.6vw,58px);line-height:1.12;max-width:590px}
  html.agata-site-refined body.home .trust .eyebrow{font-size:9px;color:#d7c9a8;letter-spacing:.12em}
  html.agata-site-refined body.home .review{border-left:1px solid #ffffff2b;padding:6px 0 6px 46px}
  html.agata-site-refined body.home .review-stars{font-size:14px;letter-spacing:5px;color:#efc36d}
  html.agata-site-refined body.home .review blockquote{font-size:clamp(24px,2.3vw,34px);line-height:1.5;letter-spacing:-.035em;min-height:154px;margin:24px 0 26px}
  html.agata-site-refined body.home .review p{font-size:12px;letter-spacing:.015em}
  html.agata-site-refined body.home .review-controls{gap:10px;margin-top:33px}
  html.agata-site-refined body.home .review-controls button{width:44px;height:44px;font-size:17px;border-color:#ffffff3d}
  html.agata-site-refined body.home .finance h2{font-size:clamp(46px,4vw,64px);line-height:1.1}
  html.agata-site-refined body.home .finance-grid{gap:11%;align-items:center}
  html.agata-site-refined body.home .finance p:not(.eyebrow){font-size:14px;line-height:1.85}
  html.agata-site-refined body.home .bank-brand{padding-block:21px;gap:13px}
  html.agata-site-refined body.home .bank-logo img{max-height:43px;max-width:145px}
  html.agata-site-refined body.home .bank-name{font-size:11px}
  html.agata-site-refined body.home .subtle-region{border-top:1px solid #2927691c;padding-block:48px 62px}
  html.agata-site-refined body.home .subtle-region p{font-size:13px;line-height:1.85}
  html.agata-site-refined .contact-band{padding-block:90px;background:#f2dfaa;color:#252341}
  html.agata-site-refined .contact-band h2{font-size:clamp(50px,4.9vw,78px);line-height:1.1;letter-spacing:-.06em}
  html.agata-site-refined .contact-band .round-link{width:76px;height:76px;border-color:#29276955;font-size:32px;color:#292769;flex:none}
  html.agata-site-refined .contact-band .round-link:hover{background:#292769;color:#fff}
  html.agata-site-refined .footer{padding-top:76px;background:#15142e;color:#eeecf4}
  html.agata-site-refined .footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:90px}
  html.agata-site-refined .footer-grid p{font-size:12px;line-height:1.9;color:#bdb8d0}
  html.agata-site-refined .footer-grid a{font-size:12px;line-height:1.8;transition:color .2s}
  html.agata-site-refined .footer-grid a:hover{color:#f5bf57}
  html.agata-site-refined .footer-grid a[href*="instagram.com"]{color:#f5cf81;display:inline-flex;align-items:center;gap:9px;border-bottom:1px solid #d4b16c66;padding-bottom:4px}
  html.agata-site-refined .footer-bottom{margin-top:57px;padding-block:26px 28px;font-size:10px;border-color:#ffffff1b;color:#bdb8d0}
  html.agata-site-refined .contact-dock.whatsapp-widget{width:300px;bottom:18px}
  html.agata-site-refined .contact-dock-shell{box-shadow:0 8px 32px #1714331a;border-color:#29276924;background:#faf9f6f5;backdrop-filter:blur(12px)}
  html.agata-site-refined .contact-dock-toggle{height:68px;padding:10px}
  html.agata-site-refined .contact-dock-toggle img{width:46px;height:46px}
  html.agata-site-refined .contact-dock-icons svg{width:22px;height:22px}
  html.agata-site-refined body.cinema-active .contact-dock:not(.is-open){opacity:0;visibility:hidden;pointer-events:none}
  @media(max-width:1250px){
    html.agata-site-refined .header{gap:16px;padding-inline:34px}
    html.agata-site-refined .header .brand{width:128px}
    html.agata-site-refined .desktop-nav{gap:18px;font-size:11px}
    html.agata-site-refined .header-contact{font-size:11px;gap:14px}
    html.agata-site-refined body.home .client-names span{font-size:14px}
    html.agata-site-refined body.home .client-names .wrap>div{padding-inline:24px;gap:22px}
    html.agata-site-refined body.home .solution-links>a{grid-template-columns:38px 1fr 185px 28px;gap:16px}
    html.agata-site-refined .energy-scenarios__content{padding:35px 26px}
    html.agata-site-refined .energy-scenarios__button{font-size:10px;padding-inline:9px}
    html.agata-site-refined body.home .project-card img{height:250px}
    html.agata-site-refined body.home .project-card h3{font-size:23px}
  }
  @media(prefers-reduced-motion:reduce){
    html.agata-site-refined .header,
    html.agata-site-refined .button,
    html.agata-site-refined .desktop-nav a::after,
    html.agata-site-refined .desktop-instagram,
    html.agata-site-refined .project-card img,
    html.agata-site-refined .solution-links b{transition:none}
    html.agata-site-refined body.home .project-card:hover img,
    html.agata-site-refined .button:hover,
    html.agata-site-refined body.home .solution-links>a:hover b{transform:none}
  }
}
