/* Photography complements the existing TAN typography and calm motion. */
.tan-web .tan-branches{background:#f0f2f5}
.tan-web .tan-branches .tan-heading-row{display:grid;grid-template-columns:1.25fr 1fr;gap:56px;align-items:end}
.tan-web .tan-branches .tan-heading-row>div{min-width:0}
.tan-web .tan-branches .tan-heading-row h2{font-size:clamp(30px,3.2vw,42px)}
.tan-web .tan-branches-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.tan-web .tan-sector-card{grid-column:span 3;position:relative;isolation:isolate;min-width:0;min-height:285px;overflow:hidden;border-radius:20px;background:#2a2757;margin:0;display:flex;align-items:flex-end}
.tan-web .tan-sector-card:first-child{grid-column:span 6}
.tan-web .tan-sector-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:-2;transition:transform 1.2s cubic-bezier(.22,.61,.36,1)}
.tan-web .tan-sector-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,21,34,.02) 20%,rgba(26,26,52,.32) 48%,rgba(29,27,60,.94) 100%);z-index:-1;pointer-events:none}
.tan-web .tan-sector-copy{width:100%;padding:28px 24px}
.tan-web .tan-sector-card h3{color:#fff;font-size:22px;line-height:1.2;margin:0 0 10px;letter-spacing:-.03em;text-wrap:balance}
.tan-web .tan-sector-card p{color:#f3f2f7;font-size:12px;line-height:1.65;margin:0;max-width:360px}
.tan-web .tan-sector-card:first-child h3{font-size:29px}
.tan-web .tan-sector-line{width:28px;height:3px;border-radius:3px;background:#8ac45f;display:block;margin-bottom:17px}
.tan-web .tan-branches-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:32px}
.tan-web .tan-branches-footer p{max-width:680px;color:var(--tan-muted);font-size:14px;margin:0}
.tan-web .tan-energy-photos{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin:0 0 36px}
.tan-web .tan-energy-photo{position:relative;isolation:isolate;margin:0;border-radius:22px;overflow:hidden;background:#dfe5e8;height:390px}
.tan-web .tan-energy-photo img{width:100%;height:100%;display:block;object-fit:cover}
.tan-web .tan-energy-photo:after{content:'';position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(21,24,44,.8));z-index:1;pointer-events:none}
.tan-web .tan-energy-photo figcaption{position:absolute;bottom:25px;left:28px;right:28px;color:#fff;font-size:17px;font-weight:700;z-index:2;line-height:1.4}
.tan-web .tan-energy-photo figcaption span{display:block;font-weight:500;font-size:12px;margin-top:7px;color:#eaeaf0}
.tan-web .tan-visual-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:58px;align-items:center}
.tan-web .tan-visual-copy{min-width:0}
.tan-web .tan-visual-hero h1{font-size:clamp(36px,4vw,56px);line-height:1.12}
.tan-web .tan-visual-hero .tan-lead{font-size:17px}
.tan-web .tan-hero-photo{position:relative;margin:0;min-width:0;aspect-ratio:4/5;overflow:hidden;border-radius:24px;background:#e5e9e4;box-shadow:0 20px 55px rgba(42,39,87,.12)}
.tan-web .tan-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.tan-web .tan-visual-hero .tan-btn{font-size:12px;padding:15px 17px;gap:12px;min-height:52px}
.tan-web .tan-visual-hero .tan-actions{gap:10px}
@media(hover:hover) and (pointer:fine){.tan-web .tan-sector-card:hover img{transform:scale(1.025)}}
@media(max-width:1100px){.tan-web .tan-visual-hero{gap:32px;grid-template-columns:1.2fr .8fr}.tan-web .tan-sector-card{min-height:260px}.tan-web .tan-sector-copy{padding:22px 20px}.tan-web .tan-sector-card h3{font-size:19px}.tan-web .tan-energy-photo{height:330px}}
@media(max-width:767px){.tan-web .tan-branches-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tan-web .tan-sector-card{grid-column:auto;min-height:245px;border-radius:16px}.tan-web .tan-sector-card:first-child{grid-column:span 2;min-height:255px}.tan-web .tan-sector-card:first-child h3{font-size:26px}.tan-web .tan-sector-card h3{font-size:19px}.tan-web .tan-sector-copy{padding:22px 17px}.tan-web .tan-sector-card p{font-size:11px}.tan-web .tan-sector-line{margin-bottom:12px}.tan-web .tan-branches-footer{display:block}.tan-web .tan-branches-footer .tan-actions{margin-top:22px}.tan-web .tan-energy-photos{grid-template-columns:1fr;gap:16px;margin-bottom:28px}.tan-web .tan-energy-photo{height:260px;border-radius:18px}.tan-web .tan-energy-photo:nth-child(2){height:245px}.tan-web .tan-energy-photo:nth-child(2) img{object-position:50% 45%}.tan-web .tan-energy-photo figcaption{left:22px;right:22px;bottom:22px}.tan-web .tan-visual-hero{grid-template-columns:1fr;gap:32px}.tan-web .tan-visual-hero h1{font-size:38px}.tan-web .tan-hero-photo{aspect-ratio:4/3;max-height:360px;border-radius:20px}.tan-web .tan-visual-hero .tan-lead{font-size:16px}}
@media(max-width:370px){.tan-web .tan-sector-card h3{font-size:17px}.tan-web .tan-sector-copy{padding:20px 13px}}
@media(max-width:767px){.tan-web .tan-branches .tan-heading-row{display:block}.tan-web .tan-branches .tan-heading-row h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.tan-web .tan-sector-card img{transition:none!important;transform:none!important}}
.tan-motion-paused .tan-sector-card img{transition:none!important;transform:none!important}
