@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-variable.woff2") format("woff2");
}

:root {
    --studio-ink: #101c18;
    --studio-forest: #082b1a;
    --studio-accent: #1bbd36;
    --studio-copy: #47594f;
    --studio-line: #d9e3dc;
    --studio-pale: #f3f8f4;
    --studio-radius: 18px;
}

.studio {
    color: var(--studio-ink);
    background: white;
    font-family: var(--gitech-font);
}
.studio-wrap { width: min(100% - clamp(40px, 8vw, 136px), 1248px); margin-inline: auto; }
.studio h1, .studio h2, .studio h3, .project-viewer h2 { margin: 0; color: var(--studio-ink); font-family: inherit; }
.studio h1 { max-width: 15ch; font-size: clamp(46px, 5.6vw, 84px); line-height: 1.01; letter-spacing: -.063em; font-weight: 695; }
.studio h1 em { display: block; font-style: normal; color: #137637; }
.studio h2 { font-size: clamp(31px, 3.45vw, 54px); line-height: 1.08; letter-spacing: -.049em; font-weight: 680; }
.studio p, .studio address, .viewer-foot p { margin: 0; color: var(--studio-copy); font-size: 16px; line-height: 1.65; }
.studio .studio-label, .project-viewer .studio-label {
    margin: 0 0 16px; color: #24653c; font-size: 11px; line-height: 1.5; letter-spacing: .14em;
    text-transform: uppercase; font-weight: 720;
}
.studio .studio-lead { max-width: 54ch; margin: 20px 0 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; }
.studio-actions, .project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 27px; }
.studio-button, .studio-textlink, .studio-back, .drawer-search {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 14px; line-height: 1.4; text-decoration: none; font-weight: 650;
}
.studio-button {
    min-height: 48px; padding: 11px 21px; border-radius: 999px; border: 1px solid var(--studio-ink);
    background: var(--studio-ink); color: white; width: fit-content;
}
.studio-button:hover { background: var(--studio-forest); color: #c2f8c7; }
.studio-textlink, .studio-back { min-height: 44px; color: var(--studio-ink); }
.studio-textlink:hover, .studio-back:hover, .project-actions a:hover { color: #116c31; text-decoration: underline; text-underline-offset: 4px; }
.studio-button i, .studio-textlink i, .viewer-close i { font-size: 1.18em; }
.studio a:focus-visible, .project-viewer :focus-visible, .drawer-search:focus-visible, .mobile-nav-toggle:focus-visible {
    outline: 3px solid #13843a; outline-offset: 4px;
}
.studio figure { margin: 0; }
.studio-icon {
    width: 46px; height: 46px; display: inline-grid; place-items: center; flex: 0 0 auto;
    color: #176c35; background: #e9f4ec; border-radius: 14px; font-size: 22px;
}

/* The company pages each lead with one introduction and the original workplace photographs. */
.about-intro, .contact-intro, .career-intro { padding-block: clamp(38px, 6vw, 88px); background: var(--studio-pale); }
.about-grid, .contact-layout, .career-layout, .cap-layout, .people-grid, .visit-grid, .work-feature-grid {
    display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 100px);
}
.about-portrait, .contact-portrait, .career-photo { overflow: hidden; position: relative; border-radius: var(--studio-radius); background: #e2e9df; }
.about-portrait { aspect-ratio: 1.34; }
.about-portrait img, .contact-portrait img, .career-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait img { object-position: 55% 41%; }
.about-portrait figcaption { position: absolute; bottom: 15px; left: 16px; padding: 6px 12px; color: white; background: #101c18e8; border-radius: 24px; font-size: 11px; }
.studio-capabilities, .studio-people, .visit-section { padding-block: clamp(50px, 6vw, 88px); }
.cap-layout { align-items: start; }
.cap-layout h2, .people-grid h2 { max-width: 15ch; }
.cap-layout h2 + p, .people-grid h2 + p, .visit-grid p, .work-feature p { margin-top: 18px; max-width: 53ch; }
.cap-links { display: grid; border-top: 1px solid var(--studio-line); }
.cap-links a { display: flex; gap: 16px; align-items: center; color: var(--studio-ink); padding-block: 17px; border-bottom: 1px solid var(--studio-line); }
.cap-links a > i, .direct-grid a > i { margin-left: auto; color: #26713c; }
.cap-links a:hover strong { color: #15712d; }
.cap-links strong, .cap-links small, .direct-grid small, .direct-grid strong { display: block; }
.cap-links strong { font-size: 19px; letter-spacing: -.03em; }
.cap-links small { font-size: 13px; line-height: 1.5; color: var(--studio-copy); }
.studio-people { background: #f5f7f3; }
.people-images { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.people-images img { height: clamp(180px, 20vw, 280px); width: 100%; object-fit: cover; border-radius: 11px; }
.people-images img:first-child { object-position: 58% 50%; }
.people-images img:last-child { object-position: center 32%; }
.people-grid .studio-textlink { margin-top: 14px; }

.contact-intro { padding-block: clamp(35px, 5vw, 74px); }
.contact-portrait { height: clamp(260px, 27vw, 395px); }
.contact-portrait img { object-position: center 32%; }
.contact-layout { grid-template-columns: 1.08fr .92fr; }
.direct-section { margin: 0; border-bottom: 1px solid var(--studio-line); }
.direct-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.direct-grid a { display: flex; align-items: center; gap: 13px; min-height: 118px; padding-block: 20px; color: var(--studio-ink); }
.direct-grid a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.direct-grid small { color: var(--studio-copy); font-size: 12px; }
.direct-grid strong { font-size: clamp(15px, 1.35vw, 20px); line-height: 1.35; letter-spacing: -.035em; overflow-wrap: anywhere; }
.visit-grid { grid-template-columns: .86fr 1.14fr; }
.visit-grid > img { width: 100%; height: clamp(230px, 24vw, 335px); object-fit: cover; object-position: 50% 52%; border-radius: var(--studio-radius); }
.visit-grid address { margin-top: 18px; font-style: normal; font-weight: 600; color: var(--studio-ink); }
.visit-grid .studio-textlink { margin-top: 10px; }
.visit-shop { margin-left: 20px; }
.career-intro { padding-top: 14px; }
.career-intro .studio-back { font-size: 13px; margin-bottom: 15px; }
.career-layout { grid-template-columns: 1.1fr .85fr; }
.career-copy h1 em { display: inline; }
.career-photo { display: block; height: clamp(295px, 28vw, 410px); }
.career-photo img { object-position: 50% 35%; }
.vacancy-state { display: flex; align-items: flex-start; gap: 16px; margin-block: 24px 10px; padding: 20px; border: 1px solid #cddfd1; border-radius: 16px; background: white; }
.vacancy-state h2 { font-size: 22px; letter-spacing: -.035em; line-height: 1.3; }
.vacancy-state p { margin-top: 4px; font-size: 14px; }

/* Portfolio imagery stays local and the visitor can open each website independently. */
.work-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(42px, 5vw, 72px);
    background: #f2f7f2;
    border-bottom: 1px solid var(--studio-line);
}
.work-intro .studio-wrap { position: relative; }
.work-intro h1 { max-width: 13ch; }
.work-intro .studio-label { display: flex; align-items: center; gap: 11px; }
.work-intro .studio-label::before { content: ""; width: 30px; height: 2px; background: #289544; }
.work-intro .studio-lead { max-width: min(48ch, 50%); }
.work-illustration {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 48%;
    background: url("../images/branding/portfolio-grid.svg") center / min(100%, 720px) auto no-repeat;
    pointer-events: none;
}
.work-browse { margin-top: 14px; }
.work-browse i { transform: rotate(90deg); }
.work-gallery { scroll-margin-top: 83px; }
.work-gallery { padding-block: clamp(28px,4vw,60px) clamp(54px,7vw,94px); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2.4vw,34px); align-items: stretch; }
.project-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--studio-line); border-radius:18px; overflow:hidden; scroll-margin-top:110px; background:#fff; box-shadow:0 4px 15px #12221806; }
.project-visual { display:block; overflow:hidden; background:#dae5dd; text-decoration:none; }
.project-browser { display:flex; align-items:center; gap:9px; padding:7px 12px; min-height:29px; background:#edf2ee; color:#394e43; border-bottom:1px solid #d7e1d9; font: 500 10px/1.2 var(--gitech-font); }
.project-browser > i { margin-left:auto; font-size:13px; }
.browser-lights { flex:none; width:5px; height:5px; border-radius:50%; background:#839d8d; box-shadow:8px 0 #afbeb2,16px 0 #c5d2c8; margin-right:17px; }
.project-visual img, .feature-window img { width:100%; aspect-ratio:720 / 430; height:auto; object-fit:cover; object-position:top; }
.project-body { padding:20px clamp(16px,1.65vw,25px) 12px; display:flex; flex:1; flex-direction:column; align-items:flex-start; }
.project-body .studio-label { font-size:10px; margin-bottom:7px; }
.project-body h2 { font-size:clamp(22px,2.05vw,30px); line-height:1.13; letter-spacing:-.043em; }
.project-body .project-desc { margin:10px 0 18px; font-size:14px; line-height:1.55; }
.project-actions { align-self:stretch; justify-content:space-between; gap:5px 12px; margin-top:auto; padding-top:7px; border-top:1px solid var(--studio-line); }
.project-actions a { font-size:12px; line-height:1.3; color:#255438; font-weight:630; min-height:41px; display:inline-flex; align-items:center; gap:6px; }
.project-body .revamp-note { margin-top:9px; padding:4px 9px; border-radius:4px; color:#744108; background:#fff3d9; font-size:11px; line-height:1.4; font-weight:650; }
.work-feature { padding-block:clamp(50px,6vw,88px); background:var(--studio-pale); }
.work-feature-grid { grid-template-columns:.84fr 1.16fr; }
.work-feature .studio-label { margin:0 0 14px; }
.work-feature .studio-button { margin-top:22px; }
.work-feature-art { display:grid; place-items:center; border-radius:var(--studio-radius); background:#eef5ee url("../images/branding/portfolio-grid.svg") right center/auto 130% no-repeat; border:1px solid var(--studio-line); padding:clamp(20px,3vw,42px); }
.feature-window { display:block; width:100%; overflow:hidden; border:1px solid #699b78; border-radius:8px; box-shadow:none; }
.software-work { padding-block:clamp(30px,4vw,58px); background:var(--studio-pale); }
.software-work .studio-wrap { display:flex; align-items:center; justify-content:space-between; gap:22px; }
.software-work h2 { font-size:clamp(27px,3vw,42px); }

.project-viewer { padding:0; border:1px solid #9aae9f; border-radius:20px; width:min(960px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; color:var(--studio-ink); background:white; box-shadow:0 18px 80px #0004; }
.project-viewer::backdrop { background:#08160ed9; }
.preview-open { overflow:hidden; }
.project-viewer header, .viewer-foot { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 22px; }
.project-viewer header { position:sticky; top:0; z-index:1; background:#fff; border-bottom:1px solid var(--studio-line); }
.project-viewer .studio-label { margin:0 0 3px; font-size:10px; }
.project-viewer h2 { font-size:clamp(21px,3vw,30px); line-height:1.1; letter-spacing:-.04em; }
.viewer-close { display:grid; flex:none; place-items:center; width:43px; height:43px; border:1px solid var(--studio-line); color:var(--studio-ink); background:var(--studio-pale); border-radius:50%; }
.viewer-media { background:#17241c; }
.viewer-media img { width:100%; max-height:54dvh; object-fit:contain; }
.viewer-media iframe { width:100%; height:54dvh; border:0; display:block; background:white; }
.viewer-foot p { font-size:14px; max-width:62ch; }
.viewer-foot .studio-button { flex-shrink:0; }
.viewer-foot button { border:0; background:none; padding:5px 0; }
.viewer-foot [hidden], .viewer-media [hidden] { display:none; }

/* Shared controls and the identity details used on every route. */
.mobile-overlay-panel { isolation:isolate; background:#102119; border-left:1px solid #395444; }
.mobile-overlay-panel::before { display:none; }
.mobile-overlay-panel .mobile-overlay-top, .mobile-overlay-panel .mobile-top-link, .mobile-overlay-panel .mobile-solutions-toggle { border-color:#ffffff35; }
.mobile-nav-toggle, .home-page .mobile-nav-toggle { position:relative; justify-content:center; align-items:center; flex-direction:column; gap:4px; width:46px; height:46px; padding:0; background:#112419; border:1px solid #1b3827; border-radius:14px; }
.mobile-nav-toggle span, .home-page .mobile-nav-toggle span { display:block; width:20px; height:2px; border-radius:2px; background:white; }
.mobile-nav-toggle span:nth-child(2) { width:14px; margin-left:6px; }
.mobile-nav-toggle.active span:first-child { transform:translateY(6px) rotate(45deg); }
.mobile-nav-toggle.active span:last-child { transform:translateY(-6px) rotate(-45deg); }
.drawer-search { align-self:flex-start; margin:0 0 14px; padding:10px 15px; border-radius:999px; background:#1a3325; color:white; border:1px solid #6f9279; }
.gitech-main-header .main-nav-inner { column-gap:clamp(14px,2vw,36px); }
.main-navigation { gap:clamp(13px,1.55vw,26px); }
.main-navigation .main-nav-link { white-space:nowrap; }
.main-nav-dropdown .solutions-dropdown { transition-property:opacity,transform; }
.solution-process-inline article { display:block; }
.gitech-hero-slide-media .hero-picture { display:contents; }
.hero-ready .hero-slide-controls { gap:0; align-items:center; }
.gitech-footer .footer-bottom { padding-bottom:70px; }
@media (max-width:1080px) {
    .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .direct-grid { gap:16px; }
    .direct-grid a { gap:8px; }
    .direct-grid .studio-icon { width:36px; height:36px; font-size:18px; }
}
@media (max-width:800px) {
    .about-grid, .career-layout, .contact-layout, .cap-layout, .people-grid, .visit-grid, .work-feature-grid { grid-template-columns:1fr; gap:25px; }
    .about-portrait, .contact-portrait { aspect-ratio:auto; height:clamp(205px,52vw,370px); }
    .career-photo { height:clamp(135px,35vw,230px); }
    .career-photo img { object-position:center 47%; }
    .studio-capabilities, .studio-people, .visit-section { padding-block:42px; }
    .direct-grid { grid-template-columns:1fr; gap:0; }
    .direct-grid a { min-height:72px; padding-block:14px; gap:15px; }
    .direct-grid a + a { border-top:1px solid var(--studio-line); }
    .visit-grid > img { grid-row:2; }
    .people-images { grid-row:2; }
    .project-body { padding:15px 14px 9px; }
    .work-illustration { width: 44%; right: -3%; }
    .work-intro .studio-lead { max-width: 55%; }
    .work-feature-art { max-width:580px; }
    .software-work .studio-wrap { align-items:flex-start; flex-direction:column; }
}
@media (max-width:600px) {
    .project-grid { grid-template-columns:1fr; }
    .project-body { padding:18px 18px 10px; }
    .project-actions a { min-height:44px; font-size:13px; }
    .project-viewer { width:calc(100% - 16px); max-height:calc(100dvh - 16px); border-radius:14px; }
    .project-viewer header, .viewer-foot { padding:13px 15px; }
    .viewer-foot { align-items:flex-start; flex-direction:column; gap:11px; }
    .viewer-media img { max-height:46dvh; }
    .studio-wrap { width:calc(100% - 36px); }
    .studio .studio-lead { line-height:1.55; }
    .studio-intro-copy, .career-copy { min-width:0; }
    .vacancy-state { padding:15px; gap:11px; }
    .vacancy-state h2 { font-size:20px; }
    .vacancy-state .studio-icon { width:35px; height:35px; font-size:18px; }
    .visit-shop { margin-left:12px; }
}
@media (prefers-reduced-motion:reduce) {
    .mobile-nav-toggle span, .main-nav-dropdown .solutions-dropdown { transition:none; }
}

.fallback-navigation { padding: .65rem max(5vw, 1rem); background: #f1f6f2; color: #13271c; }
.fallback-navigation summary { cursor: pointer; font-weight: 650; }
.fallback-navigation nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: .55rem; }
.fallback-navigation a { color: #175333; padding-block: .3rem; }

/* The launcher sits in the same action group at every screen size. */
.main-nav-actions { position: relative; gap: clamp(5px, .65vw, 12px); }
.product-launcher { position: relative; flex: 0 0 auto; }
.product-trigger, .main-nav-actions .header-search-button {
    width: 44px; height: 44px; flex: 0 0 auto; display: inline-grid; place-items: center;
    color: #193326; background: transparent; border: 0; border-radius: 50%; padding: 0;
}
.product-trigger:hover, .product-trigger[aria-expanded="true"], .main-nav-actions .header-search-button:hover {
    color: #166b35; background: #eaf3eb;
}
.product-trigger:focus-visible, .product-panel a:focus-visible, .main-nav-actions .header-search-button:focus-visible {
    outline: 2px solid #137637; outline-offset: 2px;
}
.product-dots { display: grid; grid-template-columns: repeat(3, 4px); grid-auto-rows: 4px; gap: 3px; }
.product-dots b { background: currentColor; border-radius: 50%; }
.product-panel {
    display: none; position: absolute; top: calc(100% + 7px); right: 0; z-index: 12;
    width: min(288px, calc(100vw - 24px)); padding: 16px 12px 7px;
    color: var(--studio-ink); background: white; border: 1px solid var(--studio-line);
    border-radius: 16px; box-shadow: 0 10px 28px #10291c1a;
}
.product-launcher.is-open .product-panel { display: block; }
.product-panel::before { content: ""; position: absolute; inset: -9px 0 auto; height: 9px; }
.product-panel h2 { margin: 0 6px 10px; font-size: 16px; line-height: 1.25; letter-spacing: -.025em; }
.product-row, .home-product-links a {
    display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
    min-height: 57px; padding: 8px 10px; border-radius: 10px; color: var(--studio-ink);
}
.product-row img, .home-product-links img { display: block; width: 36px; height: 36px; object-fit: contain; }
.product-symbol { background: #edf6ee; border-radius: 9px; padding: 3px; }
.product-row strong, .product-row small, .home-product-links strong, .home-product-links small { display: block; }
.product-row strong, .home-product-links strong { font-size: 14px; line-height: 1.4; }
.product-row small, .home-product-links small { color: var(--studio-copy); font-size: 12px; line-height: 1.4; }
.product-row i, .home-product-links i { color: #496a55; font-size: 14px; }
.product-row:hover, .product-row:focus-visible { background: var(--studio-pale); color: #104d2a; }
.product-directory {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px;
    padding: 9px 7px; margin-top: 5px; border-top: 1px solid var(--studio-line);
    color: #155c31; font-size: 13px; font-weight: 650;
}
.product-directory:hover { color: #124225; text-decoration: underline; text-underline-offset: 3px; }
.apps-compact-products .studio-textlink { margin-top: 15px; }
@media (min-width: 801px) {
    .apps-product-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1081px) and (max-width: 1220px) {
    .gitech-main-header .main-nav-inner { column-gap: 12px; }
    .main-navigation { gap: 13px; }
    .main-logo img { width: 136px; }
}
@media (max-width: 1080px) {
    .product-launcher { position: static; }
    .product-panel { top: calc(100% + 5px); }
}
@media (max-width: 600px) {
    .work-intro { padding-block: 36px 26px; }
    .work-illustration { inset: 1px -44px auto auto; width: 52%; height: 125px; opacity: .65; }
    .work-intro .studio-lead { max-width: 46ch; }
    .work-intro h1 { font-size: clamp(43px, 9.4vw, 58px); }
    .work-intro .studio-label { margin-bottom: 20px; }
    .work-browse { margin-top: 10px; }
}
@media (max-width: 400px) {
    .gitech-main-header .main-nav-inner { padding-inline: 10px; column-gap: 3px; }
    .gitech-main-header .main-logo img { width: clamp(96px, 26vw, 104px); }
    .main-nav-actions { gap: 2px; }
}
@media (max-height: 430px) {
    .product-panel { max-height: calc(100dvh - 108px); overflow-y: auto; }
}

.home-product-links { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-product-links a { border: 1px solid var(--studio-line); background: white; padding: 14px; }
.home-product-links a:hover, .home-product-links a:focus-visible { background: var(--studio-pale); color: #104d2a; border-color: #8aaf95; }
.apps-product-grid .app-product-icon { background: transparent; border: 0; }
.apps-product-grid .app-product-icon img { width: 40px; height: 40px; object-fit: contain; }
@media (max-width: 550px) {
    .home-product-links { grid-template-columns: 1fr; }
}

/* Keep action icons centred and links comfortably tappable at every breakpoint. */
.main-nav-actions .product-launcher { display: grid; align-items: center; }
.solutions-slider-buttons .solution-slider-button, .project-viewer .viewer-close { min-width: 44px; min-height: 44px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.gitech-footer .footer-bottom { gap: 8px 24px; padding-bottom: max(70px, calc(env(safe-area-inset-bottom) + 58px)); }
.product-panel { max-height: min(70dvh, calc(100dvh - 94px)); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 720px) {
    .case-actions { align-items: center; }
    .viewer-foot { align-items: flex-start; flex-wrap: wrap; }
    .viewer-foot > div { flex: 1 1 14rem; }
    .gitech-footer .footer-bottom { align-items: flex-start; }
    .solution-page-actions, .case-actions { row-gap: 6px; }
}
@media (min-width: 500px) and (max-width: 1080px) and (max-height: 540px) {
    .home-hero-slider-section .gitech-hero-slider,
    .home-hero-slider-section .gitech-hero-slides,
    .home-hero-slider-section .gitech-hero-slide,
    .home-hero-slider-section .gitech-hero-slide-inner { min-height: 0; height: auto; }
    .home-hero-slider-section .gitech-hero-slide-inner { padding: 25px clamp(20px, 4vw, 48px) 65px; }
    .home-hero-slider-section .gitech-hero-slide-copy { gap: 10px; }
    .home-hero-slider-section .gitech-hero-slide-copy h2 { max-width: 24ch; font-size: clamp(1.75rem, 4.5vw, 2.6rem); line-height: 1.03; }
    .home-hero-slider-section .gitech-hero-slide-copy p { margin: 4px 0; font-size: .92rem; line-height: 1.45; max-width: 60ch; }
    .home-hero-slider-section .gitech-hero-slide-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
    .home-hero-slider-section .gitech-hero-slide-actions a { width: auto; min-height: 44px; padding: 0 16px; }
    .home-hero-slider-section .hero-slide-controls { bottom: 10px; }
}
