
:root {
  --ink: #101714;
  --paper: #f7f7f2;
  --muted: #626d67;
  --line: rgba(11, 68, 42, .15);
  --brand-green: #00843d;
  --brand-green-dark: #073f2b;
  --brand-gold: #ffb81c;
  --brand-red: #de3831;
  --brand-blue: #002395;
  --brand-black: #121212;
  --service: var(--brand-green);
  --automation: var(--brand-red);
  --product: #ad6500;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(255,184,28,.55); color: var(--brand-green-dark); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-shell::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 110; height: 5px; background: linear-gradient(90deg, var(--brand-green) 0 28%, var(--brand-gold) 28% 38%, var(--brand-black) 38% 48%, var(--brand-red) 48% 66%, var(--brand-green) 66% 79%, var(--brand-blue) 79% 100%); }
.site-shell.view-home::before { display: none; }
.eyebrow { margin: 0 0 16px; font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; cursor: pointer; }
.brand img { width: min(420px, 72vw); max-height: 180px; object-fit: contain; image-rendering: auto; backface-visibility: hidden; transform: translate(var(--logo-x, 0), var(--logo-y, 0)) scale(var(--logo-scale, 1)); transform-origin: center; }
.brand__wordmark { display: block; font-size: clamp(3.3rem, 9.6vw, 8.5rem); font-weight: 900; line-height: .8; letter-spacing: -.08em; transform: translate(var(--logo-x, 0), var(--logo-y, 0)) scale(var(--logo-scale, 1)); transform-origin: center; }
.brand__wordmark::after { content: ""; display: block; width: 35%; height: 7px; margin: 18px auto 0; background: linear-gradient(90deg, #13a6a5, #f26b38, #bed331); }
.brand__strapline { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.brand--compact { align-items: flex-start; gap: 3px; }
.brand--compact .brand__wordmark { font-size: 25px; letter-spacing: -.06em; }
.brand--compact .brand__wordmark::after { height: 2px; margin: 5px 0 0; width: 100%; }
.brand--compact .brand__strapline { display: none; }
.brand--compact img { width: 132px; max-height: 42px; object-fit: contain; }

.home-view { min-height: 100vh; padding: 58px clamp(18px, 4vw, 64px) 28px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.home-intro { margin: auto; max-width: 1080px; color: #101821; text-align: center; }
.home-intro .brand { margin-bottom: 34px; }
.home-intro .brand__strapline, .home-intro .eyebrow, .home-intro h1, .home-intro > p:last-child { color: #101821; }
.home-intro h1 { margin: 0 auto 14px; max-width: 880px; font-size: clamp(2rem, 4.6vw, 4.6rem); letter-spacing: -.055em; line-height: .98; }
.home-intro > p:last-child { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.65; }
.gateway { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 420px; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 70px rgba(15, 25, 34, .15); }
.gateway-card { position: relative; min-height: 420px; padding: 0; border: 0; overflow: hidden; text-align: left; cursor: pointer; }
.gateway-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gateway-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,11,16,.12), rgba(4,11,16,.88)); transition: background .35s; }
.gateway-card--service::after, .gateway-card--automation::after, .gateway-card--product::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; }
.gateway-card--service::after { background: #13a6a5; }
.gateway-card--automation::after { background: #f26b38; }
.gateway-card--product::after { background: #bed331; }
.gateway-card__content { position: absolute; inset: auto 0 0; z-index: 2; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 46px); color: white; }
.gateway-card__code { margin-bottom: 54px; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.gateway-card__content strong { font-size: clamp(2.1rem, 4vw, 4.4rem); letter-spacing: -.06em; line-height: 1; }
.gateway-card__content > span:nth-of-type(2) { margin-top: 8px; color: rgba(255,255,255,.72); font-size: 14px; }
.gateway-card__content i { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); font-style: normal; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.gateway-card__content i b { font-size: 22px; }
.gateway-card:hover > img { transform: scale(1.06); }
.gateway-card:hover .gateway-card__shade { background: linear-gradient(180deg, rgba(4,11,16,.05), rgba(4,11,16,.76)); }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 76px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; background: rgba(247,247,244,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav button { padding: 10px 15px; border: 0; border-radius: 999px; background: transparent; color: #5b6570; font-size: 13px; font-weight: 700; cursor: pointer; }
.site-header nav button.active { background: var(--brand-green-dark); color: white; box-shadow: inset 0 -3px 0 var(--brand-gold); }

.division { --accent: var(--service); padding-top: 76px; background: #f7f7f4; }
.automation-theme { --accent: var(--automation); background: #f3efe9; }
.product-theme { --accent: var(--product); background: #f7f3e7; }
.page-hero { position: relative; min-height: min(78vh, 790px); display: flex; align-items: flex-end; overflow: hidden; color: white; }
.page-hero__slides { position: absolute; inset: 0; background: #101820; }
.page-hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease, transform 7s ease; transform: scale(1.015); }
.page-hero__slides img.active { opacity: 1; transform: scale(1); }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,17,.9) 0%, rgba(5,12,17,.5) 55%, rgba(5,12,17,.12) 100%), linear-gradient(0deg, rgba(5,12,17,.42), transparent 50%); }
.page-hero__shade::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 7px; background: var(--accent); }
.page-hero__content { position: relative; z-index: 1; max-width: 850px; padding: clamp(52px, 8vw, 110px) clamp(24px, 7vw, 110px); }
.page-hero__content h1 { margin: 0 0 22px; font-size: clamp(3rem, 7.4vw, 7.6rem); max-width: 820px; letter-spacing: -.065em; line-height: .91; }
.page-hero__content > p:last-child { max-width: 690px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.55vw, 21px); line-height: 1.65; }
.page-hero__arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(5,12,17,.34); color: white; backdrop-filter: blur(8px); cursor: pointer; transform: translateY(-50%); transition: background .2s, transform .2s; }
.page-hero__arrow:hover { background: rgba(5,12,17,.68); transform: translateY(-50%) scale(1.05); }
.page-hero__arrow--previous { left: clamp(14px, 2.5vw, 40px); }
.page-hero__arrow--next { right: clamp(14px, 2.5vw, 40px); }
.page-hero__arrow-icon { position: relative; display: block; width: 12px; height: 12px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; }
.page-hero__arrow--previous .page-hero__arrow-icon { left: -1px; transform: rotate(-135deg); }
.page-hero__arrow--next .page-hero__arrow-icon { left: 1px; transform: rotate(45deg); }
.page-hero__dots { position: absolute; right: clamp(24px, 7vw, 110px); bottom: 28px; z-index: 5; display: flex; align-items: center; gap: 7px; }
.page-hero__dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.42); cursor: pointer; transition: width .2s, background .2s; }
.page-hero__dots button.active { width: 46px; background: white; }
.section-block, .workshop-section, .automation-overview, .product-section { padding: clamp(76px, 10vw, 150px) clamp(24px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: minmax(180px, .65fr) 2fr; gap: 42px; margin-bottom: 60px; align-items: start; }
.section-heading .eyebrow { color: var(--accent); }
.section-heading h2 { max-width: 820px; margin: 0; color: var(--brand-green-dark); font-size: clamp(2.2rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service-grid article { position: relative; isolation: isolate; min-height: 285px; padding: 26px 28px 35px; overflow: hidden; border-right: 1px solid var(--line); background: var(--brand-green-dark); color: white; }
.service-grid article:last-child { border-right: 0; }
.service-card__image { position: absolute; inset: -8px; z-index: -2; width: calc(100% + 16px); height: calc(100% + 16px); max-width: none; object-fit: cover; filter: blur(3px) saturate(.82); transform: scale(1.04); transition: filter .35s ease, transform .7s ease; }
.service-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,36,24,.38), rgba(3,36,24,.9)); }
.service-card__number { color: var(--brand-gold); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.service-grid h3 { margin: 65px 0 14px; color: white; font-size: 23px; letter-spacing: -.035em; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.service-grid p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
.service-grid article:hover .service-card__image { filter: blur(2px) saturate(.92); transform: scale(1.09); }
.branch-section { background: var(--brand-green-dark); color: white; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch-grid article { display: flex; min-width: 0; flex-direction: column; padding: 32px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.04); }
.branch-map { width: 100%; height: clamp(130px, 12vw, 168px); flex: 0 0 auto; border: 2px solid var(--brand-gold); border-radius: 10px; background: rgba(255,255,255,.08); }
.branch-grid h3 { margin: 25px 0 16px; font-size: clamp(1.7rem, 2.5vw, 2.6rem); letter-spacing: -.04em; }
.branch-grid p { min-height: 48px; color: rgba(255,255,255,.65); line-height: 1.5; }
.branch-grid a { display: block; width: fit-content; margin-top: 10px; color: white; font-size: 13px; text-decoration: none; }
.branch-grid .branch-address { display: flex; align-items: flex-start; gap: 8px; min-height: 48px; margin: 0 0 15px; color: rgba(255,255,255,.72); line-height: 1.5; }
.branch-grid .branch-address + a { margin-top: auto; }
.branch-address > span:first-child { flex: 0 0 auto; color: var(--brand-gold); font-size: 16px; line-height: 1.35; }
.branch-address:hover > span:last-child { color: white; text-decoration: underline; text-underline-offset: 3px; }
.workshop-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; grid-template-rows: 250px 250px; gap: 12px; }
.workshop-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.workshop-grid img:first-child { grid-row: span 2; }
.workshop-grid img:nth-child(4) { grid-column: span 2; }

.automation-overview { background: #181514; color: #f5f1e9; }
.automation-overview .section-heading h2 { max-width: 900px; }
.platform-grid { border-top: 1px solid rgba(255,255,255,.18); }
.platform-item { padding: 34px 0 46px; border-bottom: 1px solid rgba(255,255,255,.18); }
.platform-item__header { display: grid; grid-template-columns: 80px 1fr; gap: 26px; align-items: start; }
.platform-item__header > span { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.platform-item__header h3 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 4rem); letter-spacing: -.055em; }
.platform-item__header p { max-width: 720px; margin: 0; color: rgba(255,255,255,.6); line-height: 1.6; }
.platform-details { padding: 0 0 42px 106px; }
.platform-details > p { margin: 28px 0 16px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.platform-images { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.platform-images img { width: 100%; aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; object-fit: cover; background: rgba(255,255,255,.04); }
.automation-process { padding: 95px clamp(24px, 7vw, 110px); background: var(--accent); color: #25160f; }
.process-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-top: 32px; font-size: clamp(1.5rem, 3vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; }
.process-line i { font-style: normal; font-weight: 300; opacity: .45; }

.product-groups { display: grid; gap: clamp(64px, 8vw, 108px); }
.product-group__heading { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: baseline; margin-bottom: 24px; padding-top: 20px; border-top: 1px solid rgba(15, 31, 25, .2); }
.product-group__heading span { color: #8b6a00; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.product-group__heading h3 { margin: 0; color: #0a3d2d; font-size: clamp(1.75rem, 3.5vw, 3.5rem); letter-spacing: -.05em; }
.product-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.product-card { position: relative; grid-column: span 4; overflow: hidden; border-radius: 18px; color: white; background: #17332a; }
.product-card--wide { grid-column: span 8; }
.product-card--tall { grid-column: span 4; grid-row: span 2; }
.product-card--panorama { grid-column: span 12; }
.product-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.product-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #0a3d2d, #13231e 58%, #332b18); }
.product-card__placeholder::before, .product-card__placeholder::after { content: ""; position: absolute; width: 70%; height: 1px; background: rgba(255,255,255,.1); transform: rotate(-28deg); }
.product-card__placeholder::after { transform: rotate(28deg); }
.product-card__placeholder b { color: rgba(255,255,255,.12); font-size: clamp(4rem, 8vw, 8rem); font-weight: 900; letter-spacing: -.08em; }
.product-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,10,.04) 34%, rgba(8,12,10,.9)); }
.product-card > div:last-child { position: absolute; inset: auto 0 0; padding: 26px; }
.product-card span { color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.product-card h3 { margin: 9px 0 7px; font-size: clamp(1.5rem, 2.5vw, 2.5rem); letter-spacing: -.045em; }
.product-card p { max-width: 450px; margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.5; }
.product-card:hover > img { transform: scale(1.045); }

.contact-section { padding: clamp(76px, 10vw, 140px) clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 140px); background: #fff; }
.contact-copy .eyebrow { color: var(--accent); }
.contact-copy h2 { max-width: 520px; margin: 0 0 25px; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .96; letter-spacing: -.06em; }
.contact-copy > p:not(.eyebrow) { max-width: 470px; color: var(--muted); line-height: 1.6; }
.contact-copy a { display: block; width: fit-content; margin-top: 14px; font-weight: 700; text-decoration: none; }
.contact-section form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.contact-section label { display: flex; flex-direction: column; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-section label.full { grid-column: span 2; }
.contact-section input, .contact-section textarea { width: 100%; border: 0; border-bottom: 1px solid #aeb5ba; border-radius: 0; outline: 0; background: transparent; color: var(--ink); padding: 12px 0; font-size: 16px; resize: vertical; }
.contact-section input:focus, .contact-section textarea:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.contact-section input[aria-invalid="true"] { border-color: #b52b1f; box-shadow: 0 1px 0 #b52b1f; }
.form-field-error { margin-top: 2px; color: #b52b1f; font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.contact-section form > button { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 18px 22px; border: 0; background: var(--ink); color: white; font-weight: 800; cursor: pointer; }
.contact-section form > button span { font-size: 22px; }
.contact-section form > button:disabled { cursor: wait; opacity: .72; transform: none; }
.contact-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-note { grid-column: span 2; margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.form-note--success { color: #08763d; }
.form-note--error { color: #b52b1f; }

.edit-trigger { position: fixed; z-index: 30; right: 20px; bottom: 20px; padding: 12px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: var(--brand-green-dark); color: white; box-shadow: 0 10px 32px rgba(0,0,0,.24); font-size: 12px; font-weight: 800; cursor: pointer; }
.edit-trigger span { margin-right: 7px; color: var(--product); }
.studio-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; background: rgba(6,10,13,.56); backdrop-filter: blur(5px); }
.studio { width: min(760px, 96vw); height: 100vh; overflow-y: auto; padding: 30px; background: #f7f7f5; box-shadow: -20px 0 60px rgba(0,0,0,.28); }
.studio-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.studio-header span { color: var(--automation); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.studio-header h2 { margin: 5px 0 0; font-size: 32px; letter-spacing: -.04em; }
.studio-header > button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 25px; cursor: pointer; }
.studio-intro { color: var(--muted); line-height: 1.6; }
.studio h3 { margin: 30px 0 14px; font-size: 15px; }
.division-contact-tools { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.upload-server-status { margin: 18px 0 0; padding: 12px 14px; border-radius: 9px; background: #eef4f0; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.5; }
.upload-server-status--ok { background: #dff3e7; color: #075c32; }
.upload-server-status--error { background: #f7dfdc; color: #9f2f26; }
.division-contact-tools > h3 { margin: 0 0 8px; }
.division-contact-tools > p { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.division-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.division-contact-grid article { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9f5; }
.division-contact-grid strong { display: block; margin-bottom: 12px; color: var(--brand-green-dark); font-size: 13px; }
.division-contact-grid label { display: block; margin-top: 10px; }
.division-contact-grid label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 800; }
.division-contact-grid input { width: 100%; min-width: 0; padding: 8px 9px; border: 1px solid rgba(11,68,42,.2); border-radius: 7px; background: #fff; color: var(--ink); font-size: 11px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.upload-item { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.upload-item label { display: block; }
.upload-item__preview { width: 100%; height: 90px; margin-bottom: 11px; border-radius: 7px; object-fit: cover; }
.upload-item__empty { display: grid; place-items: center; height: 90px; margin-bottom: 11px; border: 1px dashed rgba(11,68,42,.25); border-radius: 7px; background: #f7f9f5; color: var(--muted); font-size: 10px; font-weight: 800; }
.upload-grid span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.upload-grid input { max-width: 100%; font-size: 11px; }
.logo-tools { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.logo-tools h3 { margin: 0; }
.logo-preview { height: 190px; margin: 14px 0; display: grid; place-items: center; overflow: hidden; border: 1px dashed rgba(11,68,42,.25); border-radius: 10px; background: #f7f7f2; color: var(--muted); font-size: 12px; }
.logo-preview img { width: min(420px, 82%); max-height: 160px; object-fit: contain; transform: translate(var(--logo-x, 0), var(--logo-y, 0)) scale(var(--logo-scale, 1)); transform-origin: center; }
.logo-preview__wordmark { display: block; color: #101821; font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 900; line-height: .85; letter-spacing: -.08em; transform: translate(var(--logo-x, 0), var(--logo-y, 0)) scale(var(--logo-scale, 1)); transform-origin: center; }
.logo-preview__wordmark::after { content: ""; display: block; width: 35%; height: 5px; margin: 12px auto 0; background: linear-gradient(90deg, #13a6a5, #f26b38, #bed331); }
.logo-upload { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafaf7; }
.logo-upload label { display: block; }
.logo-upload span, .logo-sliders label > span { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.logo-upload input { max-width: 100%; font-size: 11px; }
.logo-upload > button, .hero-tools__upload > button, .upload-item > button { width: 100%; margin-top: 10px; padding: 9px 12px; border: 0; border-radius: 7px; background: var(--brand-green); color: white; font-size: 11px; font-weight: 900; cursor: pointer; }
.logo-upload > button:disabled, .hero-tools__upload > button:disabled, .upload-item > button:disabled { opacity: .42; cursor: not-allowed; }
.upload-feedback { margin: 9px 0 0; font-size: 11px; font-weight: 800; line-height: 1.45; }
.upload-feedback--working { color: var(--muted); }
.upload-feedback--success { color: var(--brand-green); }
.upload-feedback--error { color: #b52b1f; }
.logo-sliders { display: grid; gap: 14px; margin-top: 16px; }
.logo-sliders label { padding: 10px 12px; border-radius: 9px; background: #f7f7f2; }
.logo-sliders output { color: var(--brand-green); font-variant-numeric: tabular-nums; }
.logo-sliders input { width: 100%; accent-color: var(--brand-green); }
.hero-tools { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hero-tools > h3 { margin: 0 0 8px; }
.hero-tools > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-tools article { padding: 16px 0; border-top: 1px solid var(--line); }
.hero-tools__heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.hero-tools__heading strong { font-size: 13px; }
.hero-tools__heading span { color: var(--muted); font-size: 11px; }
.hero-tools__settings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hero-tools__settings label { padding: 11px; border-radius: 9px; background: #f7f7f2; }
.hero-tools__settings label > span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 800; }
.hero-tools__settings label > div { display: flex; align-items: center; gap: 8px; }
.hero-tools__settings input[type="number"] { width: 76px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.hero-tools__settings b { color: var(--muted); font-size: 10px; }
.hero-tools__upload { padding: 11px; border-radius: 9px; background: #f7f7f2; }
.hero-tools__settings .hero-tools__upload label { display: block; padding: 0; background: transparent; }
.hero-tools__upload input { max-width: 100%; font-size: 11px; }
.hero-tools__images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hero-tools__images figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f7f7f2; }
.hero-tools__images img { width: 100%; height: 78px; object-fit: cover; }
.hero-tools__images figcaption { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 7px; color: var(--muted); font-size: 9px; }
.hero-tools__images button { padding: 4px 6px; border: 0; border-radius: 5px; background: #f7dfdc; color: #9f2f26; font-size: 9px; font-weight: 800; cursor: pointer; }
.text-tools { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.text-tools > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 18px; list-style: none; cursor: pointer; }
.text-tools > summary::-webkit-details-marker { display: none; }
.text-tools > summary span { font-size: 15px; font-weight: 850; }
.text-tools > summary b { padding: 5px 8px; border-radius: 999px; background: #e8f2ec; color: var(--brand-green); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.text-tools[open] > summary { border-bottom: 1px solid var(--line); }
.text-tools > p { margin: 16px 18px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.text-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 18px; }
.text-editor-grid label { display: flex; flex-direction: column; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafaf7; }
.text-editor-grid label > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.text-editor-grid input, .text-editor-grid textarea { width: 100%; padding: 9px 10px; border: 1px solid rgba(11,68,42,.2); border-radius: 7px; outline: 0; background: #fff; color: var(--ink); font-size: 12px; line-height: 1.45; resize: vertical; }
.text-editor-grid input:focus, .text-editor-grid textarea:focus { border-color: var(--brand-green); box-shadow: 0 0 0 2px rgba(0,132,61,.1); }
.studio-json-title { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.studio-json-title button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 11px; font-weight: 700; cursor: pointer; }
.json-editor { width: 100%; min-height: 520px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #111820; color: #dbe8ef; font: 11px/1.55 Consolas, monospace; resize: vertical; }
.studio-error { color: #b52b1f; font-size: 13px; font-weight: 700; }
.studio-actions { position: sticky; bottom: -30px; display: flex; justify-content: flex-end; gap: 10px; margin: 25px -30px -30px; padding: 18px 30px; border-top: 1px solid var(--line); background: rgba(247,247,245,.96); backdrop-filter: blur(12px); }
.studio-actions button { padding: 12px 18px; border-radius: 8px; font-weight: 800; cursor: pointer; }
.studio-actions .secondary { border: 1px solid var(--line); background: white; }
.studio-actions .primary { border: 1px solid var(--ink); background: var(--ink); color: white; }

/* Logo-led visual refinement */
.page-hero__content .eyebrow { color: color-mix(in srgb, var(--accent) 72%, white); }
.service-theme .section-block:not(.branch-section), .service-theme .workshop-section { background: linear-gradient(180deg, #fbfcf9, #f2f7f3); }
.service-grid { gap: 14px; border-top: 0; }
.service-grid article { min-height: 290px; border: 1px solid rgba(0,132,61,.18); border-top: 4px solid var(--brand-green); border-radius: 15px; background: var(--brand-green-dark); box-shadow: 0 14px 35px rgba(7,63,43,.16); }
.service-grid article:last-child { border-right: 1px solid rgba(0,132,61,.14); }
.branch-section .section-heading h2, .automation-overview .section-heading h2 { color: #fff; }
.branch-grid article { border-top: 3px solid var(--brand-gold); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.workshop-grid img { box-shadow: 0 10px 30px rgba(7,63,43,.12); }
.platform-item { transition: background .25s ease; }
.platform-item:hover { background: rgba(255,255,255,.025); }
.automation-process { background: linear-gradient(120deg, #c92f29, var(--brand-red) 55%, #ef5a52); color: #fff; }
.automation-process .eyebrow { color: #ffe3df; }
.product-section { background: radial-gradient(circle at 92% 5%, rgba(255,184,28,.16), transparent 26%), #f8f5ea; }
.product-card { border: 1px solid rgba(7,63,43,.12); box-shadow: 0 16px 38px rgba(45,39,15,.13); }
.product-card span { color: #ffd25c; }
.contact-section { background: radial-gradient(circle at 0 100%, rgba(0,132,61,.08), transparent 35%), linear-gradient(135deg, #fff 0%, #fbfcf8 65%, #fff9ea 100%); }
.contact-section form > button { background: var(--brand-green-dark); box-shadow: inset 0 -4px 0 var(--brand-gold); transition: transform .2s ease, box-shadow .2s ease; }
.contact-section form > button:hover { transform: translateY(-2px); box-shadow: inset 0 -4px 0 var(--brand-gold), 0 12px 28px rgba(7,63,43,.18); }
.studio-header span { color: var(--brand-green); }
.studio-actions .primary { border-color: var(--brand-green-dark); background: var(--brand-green-dark); box-shadow: inset 0 -3px 0 var(--brand-gold); }

.admin-page { min-height: 100vh; padding: clamp(28px, 5vw, 72px); background: radial-gradient(circle at 8% 0, rgba(0,132,61,.17), transparent 30%), radial-gradient(circle at 95% 95%, rgba(255,184,28,.14), transparent 28%), #eff3ef; }
.admin-brand { display: inline-flex; flex-direction: column; margin-bottom: 28px; text-decoration: none; }
.admin-brand strong { color: var(--brand-green-dark); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 950; letter-spacing: -.07em; line-height: .9; }
.admin-brand strong::after { content: ""; display: block; width: 68%; height: 4px; margin-top: 9px; background: linear-gradient(90deg, #13a6a5, #f26b38, #bed331); }
.admin-brand span { margin-top: 8px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .28em; }
.admin-card { max-width: 1120px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border: 1px solid rgba(7,63,43,.13); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 28px 80px rgba(7,63,43,.13); }
.admin-card--loading { min-height: 300px; display: grid; place-items: center; color: var(--muted); }
.admin-card__intro { max-width: 760px; }
.admin-card__intro .eyebrow { color: var(--brand-green); }
.admin-card__intro h1 { margin: 0 0 18px; color: var(--brand-green-dark); font-size: clamp(2.8rem, 7vw, 6.5rem); letter-spacing: -.065em; line-height: .92; }
.admin-card__intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.admin-card__intro > p strong { color: var(--ink); }
.admin-identity { font-size: 13px; }
.admin-identity a { color: var(--brand-green); font-weight: 800; }
.admin-notice { margin: 25px 0 0; padding: 13px 15px; border-radius: 10px; font-size: 13px; font-weight: 800; }
.admin-notice--success { background: #e5f4ea; color: #08713a; }
.admin-notice--error { background: #fae7e4; color: #a12d24; }
.admin-form { display: grid; gap: 17px; max-width: 520px; margin-top: 34px; }
.admin-form label { display: grid; gap: 8px; color: #4b5751; font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.admin-form input { width: 100%; padding: 14px 15px; border: 1px solid rgba(7,63,43,.22); border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; text-transform: none; }
.admin-form input:focus { border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(0,132,61,.1); outline: 0; }
.admin-form > button[type="submit"], .admin-primary-link { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 14px 18px; border: 0; border-radius: 10px; background: var(--brand-green-dark); color: white; box-shadow: inset 0 -4px 0 var(--brand-gold); font-weight: 850; text-decoration: none; cursor: pointer; }
.admin-form button:disabled { opacity: .55; cursor: wait; }
.admin-link-button { justify-self: start; padding: 0; border: 0; background: transparent; color: var(--brand-green); font-size: 13px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.admin-explainer, .admin-form--panel > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.admin-form small { color: var(--muted); line-height: 1.5; }
.admin-dashboard { margin-top: 38px; }
.admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-summary > div { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9f5; }
.admin-summary span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.admin-summary strong { display: block; overflow-wrap: anywhere; font-size: 14px; }
.admin-primary-link { max-width: 420px; margin-top: 22px; }
.admin-primary-link span { font-size: 22px; }
.admin-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.admin-form--panel { max-width: none; margin: 0; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fafbf8; }
.admin-form--panel h2 { margin: 0; color: var(--brand-green-dark); font-size: 22px; letter-spacing: -.03em; }
.admin-logout { margin-top: 25px; padding: 10px 0; border: 0; background: transparent; color: #a12d24; font-size: 13px; font-weight: 800; text-decoration: underline; cursor: pointer; }

@media (max-width: 900px) {
  .home-view { padding-top: 38px; }
  .gateway { grid-template-columns: 1fr; }
  .gateway-card { min-height: 300px; }
  .gateway-card__code { margin-bottom: 30px; }
  .site-header { height: 68px; }
  .division { padding-top: 68px; }
  .section-heading { grid-template-columns: 1fr; gap: 5px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .branch-grid { grid-template-columns: 1fr; }
  .branch-map { height: clamp(180px, 42vw, 280px); }
  .product-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .product-card { grid-column: span 1; }
  .product-card--wide, .product-card--panorama { grid-column: span 2; }
  .product-card--tall { grid-column: span 1; grid-row: span 2; }
  .contact-section { grid-template-columns: 1fr; }
  .admin-summary { grid-template-columns: 1fr; }
  .admin-settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header nav button { padding: 8px; font-size: 11px; }
  .brand--compact .brand__wordmark { font-size: 19px; }
  .page-hero { min-height: 620px; }
  .page-hero__content { padding-bottom: 58px; }
  .page-hero__arrow { width: 42px; height: 42px; font-size: 31px; }
  .page-hero__dots { right: 18px; bottom: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid h3 { margin-top: 32px; }
  .workshop-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 190px 190px; }
  .workshop-grid img:first-child { grid-row: auto; grid-column: span 2; }
  .workshop-grid img:nth-child(4) { grid-column: auto; }
  .platform-item__header { grid-template-columns: 44px 1fr; gap: 10px; }
  .platform-details { padding-left: 54px; }
  .platform-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-group__heading { grid-template-columns: 44px 1fr; gap: 10px; }
  .product-bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .product-card, .product-card--wide, .product-card--panorama { grid-column: auto; }
  .product-card--tall { grid-row: auto; }
  .contact-section form { grid-template-columns: 1fr; }
  .contact-section label.full, .contact-section form > button, .form-note { grid-column: auto; }
  .upload-grid { grid-template-columns: 1fr; }
  .hero-tools__settings, .hero-tools__images, .division-contact-grid { grid-template-columns: 1fr; }
  .text-editor-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
