/* Shared visual contract approved in catalogue-study. Layouts stay page-specific. */
.brand-system{--ink:#172d46;--blue:#1d4d80;--muted:#4b6177;--pale:#eef4f8;--line:#d6e0e8;--radius:10px;--mark-cyan:#00a9ce;--mark-magenta:#d63684;--mark-yellow:#e8b923;--mark-green:#009b55;--mark-purple:#793fba;--mark-orange:#f07920;--mark-turquoise:#00b7a5;--mark-red:#e33538;font-family:Arial,sans-serif}
.brand-system h1,.brand-system h2{font-weight:400}
.brand-system .brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;color:#000;padding-block:0}
.brand-system .brand>.print-mark{width:38px;height:38px;flex:none;color:#000;stroke-width:1.25}
.brand-system .brand-wordmark{display:block;width:220px;height:auto}
.brand-system .print-mark{width:28px;height:28px;flex:none;vertical-align:middle}
.brand-system .section-head h2{display:flex;align-items:center;gap:16px;font-size:32px;line-height:1.2;letter-spacing:-.035em}
.brand-system .section-head h2 .print-mark{color:#000}
.brand-system :is(.category-grid,.product-grid,.production-grid){column-gap:28px;row-gap:38px}
.brand-system :is(.category-card,.product-card,.production-card) h3{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:22px;line-height:1.25;font-weight:500;letter-spacing:-.025em;text-wrap:pretty}
.brand-system :is(.category-card,.product-card,.production-card) p{font-size:15px;line-height:1.7}
.brand-system :is(.product-photo,.category-photo,.product-gallery-main,.category-header-grid>img,.method-intro img,.production-card>a>img,.equipment-grid img,.document-card,.quote-panel,.reference-card){border-radius:var(--radius)}
.brand-system .gallery-buttons button{border-radius:8px;overflow:hidden}
.brand-system :is(.field input,.field select,.field textarea){border-radius:6px}
.brand-system :is(.page-heading,.product-copy) h1{font-weight:400;letter-spacing:-.04em;line-height:1.12}
.brand-system .page-heading{padding-top:36px;padding-bottom:40px}
.brand-system .product-actions{gap:12px}
.brand-system .product-actions .price{font-size:13px}
.brand-system .related-section{background:#eef4f8}
.brand-system.inner-page .product-photo{aspect-ratio:1.28}
.brand-system.inner-page .product-photo img{object-fit:cover}
.brand-system .production-card>a>img{height:auto;aspect-ratio:1.65;object-fit:cover}
.brand-system .production-card[data-method="method-uv-ofset-baski"]>a>img{object-position:50% 50%}
.brand-system .production-card[data-method="method-3d-baski"]>a>img{object-fit:contain;background:#eaf2f8}
.brand-system .values-grid h3{font-weight:500}
.brand-system .document-card h2{font-weight:400}
.brand-system .document-card a{gap:10px}
.brand-system .quote-panel h2{line-height:1.25}
.brand-system .contact-details h2{font-weight:600}
/* Decorative icons never carry the only label; text remains the accessible name. */
.brand-system .card-direction{position:relative;display:block;flex:0 0 27px;width:27px;height:27px;color:var(--mark-color,var(--mark-cyan));margin-top:1px}
.brand-system .card-direction .print-mark,.brand-system .card-direction .arrow{position:absolute;inset:0;width:27px;height:27px;stroke-width:1.1;color:inherit;transition:opacity .18s ease,transform .18s ease}
.brand-system .card-direction .arrow{opacity:1;transform:translateX(0);color:#111}
.brand-system .card-direction .print-mark{opacity:0;transform:scale(.8);color:var(--mark-color,var(--mark-cyan))}
.brand-system :is(.product-card,.category-card,.production-card)>a:is(:hover,:focus-visible) .card-direction .print-mark{opacity:1;transform:scale(1)}
.brand-system :is(.product-card,.category-card,.production-card)>a:is(:hover,:focus-visible) .card-direction .arrow{opacity:0;transform:translateX(4px)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+1){--mark-color:var(--mark-cyan)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+2){--mark-color:var(--mark-magenta)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+3){--mark-color:var(--mark-yellow)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+4){--mark-color:var(--mark-green)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+5){--mark-color:var(--mark-purple)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+6){--mark-color:var(--mark-orange)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+7){--mark-color:var(--mark-turquoise)}
.brand-system :is(.category-grid,.product-grid,.production-grid)>li:nth-child(8n+8){--mark-color:var(--mark-red)}
.brand-system .action-direction{position:relative;display:inline-block;vertical-align:middle;flex:0 0 25px;width:25px;height:25px;color:inherit}
.brand-system .action-direction>.arrow,.brand-system .action-direction>.print-mark{position:absolute;inset:0;width:25px;height:25px;transition:opacity .18s ease,transform .18s ease;color:inherit}
.brand-system .action-direction>.arrow{opacity:1;transform:translateX(0);color:#111}
.brand-system .action-direction>.print-mark{opacity:0;transform:scale(.8);color:var(--mark-color,var(--mark-cyan))}
/* Filled button icons follow the label colour in both default and hover/focus states. */
.brand-system .button>.action-direction>:is(.arrow,.print-mark){color:inherit}
.brand-system :is(a,button):is(:hover,:focus-visible)>.action-direction>.arrow{opacity:0;transform:translateX(4px)}
.brand-system :is(a,button):is(:hover,:focus-visible)>.action-direction>.print-mark{opacity:1;transform:scale(1)}
.brand-system .contact-band{position:relative;overflow:hidden;isolation:isolate;padding:50px 0}
.brand-system .contact-band h2{font-size:40px;font-weight:400}
.brand-system .contact-band p{font-size:17px}
.brand-system .contact-band .button{background:#f3d255;border-color:#f3d255;color:#172d46;font-weight:700}
.brand-system .contact-band .button:hover{background:#ffe486;border-color:#ffe486;color:#172d46}
.brand-system .contact-band .button:focus-visible{outline-color:white}
.brand-system .contact-band:before{content:"";position:absolute;z-index:-1;left:-135px;top:-105px;width:570px;height:410px;background-image:radial-gradient(circle,#55c5e4 1.8px,transparent 2px);background-size:11px 11px;transform:rotate(-17deg);mask-image:radial-gradient(ellipse at 12% 52%,#000 0%,#0009 34%,transparent 72%);opacity:.36;pointer-events:none}
.brand-system .site-footer{background:#f7f9fb}
.brand-system .footer-col h2{font-size:16px;font-weight:650;letter-spacing:0}
.brand-system .footer-quote{font-weight:700}
.brand-system .footer-section-emblem{display:flex;align-items:center;height:26px;margin-bottom:16px;color:#000}
.brand-system .footer-section-emblem .print-mark{width:26px;height:26px}
.brand-system .footer-col .footer-contact-link{display:flex;align-items:center;gap:9px;min-height:36px;line-height:1.4;margin-bottom:3px;width:fit-content}
.brand-system .footer-contact-icon{width:18px;height:18px;flex:none;color:var(--blue)}
.brand-system .footer-whatsapp .footer-contact-icon{color:#167343}
@media(max-width:850px){
 .brand-system :is(.category-grid,.product-grid,.production-grid){column-gap:24px;row-gap:34px}
 .brand-system :is(.category-card,.product-card,.production-card) h3{font-size:21px}
}
@media(max-width:600px){
 .brand-system{--radius:8px}
 .brand-system .brand{gap:8px}.brand-system .brand>.print-mark{width:31px;height:31px}.brand-system .brand-wordmark{width:min(200px,calc(100vw - 140px))}
 .brand-system :is(.category-grid,.product-grid,.production-grid){column-gap:18px;row-gap:30px}
 .brand-system :is(.category-card,.product-card,.production-card) h3{font-size:19px;line-height:1.28;gap:8px}
 .brand-system :is(.category-card,.product-card,.production-card) p{font-size:14px;line-height:1.6}
 .brand-system .card-direction{width:23px;height:23px;flex-basis:23px}
 .brand-system .card-direction .arrow,.brand-system .card-direction .print-mark{width:23px;height:23px}
 .brand-system .section-head h2{font-size:26px;gap:10px}.brand-system .section-head h2 .print-mark{width:24px;height:24px}
 .brand-system .page-heading{padding-top:26px;padding-bottom:30px}
 .brand-system .page-heading h1,.brand-system .product-copy h1{font-size:36px;overflow-wrap:anywhere}
 .brand-system .product-copy{min-width:0;width:100%}
 .brand-system .product-actions .price{font-size:13px;gap:6px}
 .brand-system .product-actions .action-direction{width:22px;height:22px;flex-basis:22px}
 .brand-system .product-actions .action-direction>svg{width:22px;height:22px}
 .brand-system .contact-band{padding:36px 0}.brand-system .contact-band h2{font-size:34px}.brand-system .contact-band p{font-size:16px}
 .brand-system .footer-grid>div:first-child,.brand-system .footer-grid>div:last-child{grid-column:1/-1}
 .brand-system .footer-col h2{font-size:15px}
 .brand-system .document-grid{grid-template-columns:1fr}
 .brand-system .document-card{padding:24px}.brand-system .document-card h2{font-size:24px}
 .brand-system .document-card p{font-size:14px;line-height:1.65}
 .brand-system .document-card a{font-size:13px;flex-wrap:wrap}
}
/* WCAG 2.3.3: interaction feedback respects the user's motion setting. */
@media(prefers-reduced-motion:reduce){.brand-system .card-direction>svg,.brand-system .action-direction>svg{transition:none}}

/* About introduction uses the same black emblem and wordmark as the shared brand. */
.brand-system .about-logo{display:flex;align-items:center;gap:18px;color:#000;margin-top:24px;width:min(100%,380px)}
.brand-system .about-logo>.print-mark{width:60px;height:60px;stroke-width:1.25}
.brand-system .about-logo>img{display:block;width:calc(100% - 78px);height:auto}
@media(max-width:600px){.brand-system .about-logo{width:290px;gap:14px}.brand-system .about-logo>.print-mark{width:46px;height:46px}.brand-system .about-logo>img{width:calc(100% - 60px)}}

/* Shared catalogue interaction: preserve existing image crops while adding a small zoom. */
.brand-system .site-footer a[href="mailto:karaca@karacaprint.com"]{font-weight:700}
.brand-system .catalog-image-frame{display:block;overflow:hidden;border-radius:var(--radius)}
.brand-system :is(.category-photo,.product-photo){overflow:hidden}
.brand-system :is(.category-photo,.product-photo,.catalog-image-frame)>img{scale:1;transition:scale .35s ease}
.brand-system.inner-page .production-grid .catalog-image-frame{width:100%;aspect-ratio:1.58;background:var(--pale)}
.brand-system.inner-page .production-grid .catalog-image-frame>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.brand-system.inner-page .production-grid .production-card[data-method="method-uv-ofset-baski"] .catalog-image-frame>img{object-position:50% 50%}
.brand-system .product-main:hover .product-photo img{transform:scale(var(--crop-zoom,1))}
@media(hover:hover){.brand-system :is(.category-card,.product-card,.production-card)>a:hover :is(.category-photo,.product-photo,.catalog-image-frame)>img{scale:1.045}}
.brand-system :is(.category-card,.product-card,.production-card)>a:focus-visible :is(.category-photo,.product-photo,.catalog-image-frame)>img{scale:1.045}
@media(hover:hover){.brand-system.inner-page .production-grid .production-card>a:hover .catalog-image-frame>img{scale:1.06}}
.brand-system.inner-page .production-grid .production-card>a:focus-visible .catalog-image-frame>img{scale:1.06}
@media(prefers-reduced-motion:reduce){.brand-system :is(.category-photo,.product-photo,.catalog-image-frame)>img{transition:none;scale:1!important}}

/* Compact single-row archive logos. */
.about-technology{padding:8px 0 36px;background:#fff;scroll-margin-top:100px}
.about-technology-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#b7c7d6 transparent}
.about-technology-scroll:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.about-technology-logos{display:grid;grid-template-columns:repeat(10,minmax(100px,1fr));list-style:none;margin:0;padding:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:1000px}
.about-technology-logos li{display:flex;justify-content:center;align-items:center;height:90px;overflow:hidden;min-width:0}
.about-technology-logos img{display:block;object-fit:contain;flex:none}
.about-technology-logos img.padded{width:104px;height:104px;max-width:none}
.about-technology-logos img.compact{width:82px;height:50px;max-width:85%}
@media(max-width:700px){.about-technology{padding:8px 0 28px}.about-technology-logos li{height:80px}}
/* Product galleries use a shared edge-to-edge crop: fill every frame without stretching. */
.brand-system .product-gallery-main>img,
.brand-system .gallery-buttons img{display:block;object-fit:cover;object-position:var(--product-image-position,50% 50%)}


/* Approved replacement library: frames fill proportionally; navigation uses tiny WebPs. */
.brand-system .product-gallery{min-width:0}
.brand-system .product-gallery-main{display:block;overflow:hidden}
.brand-system .product-gallery-main>img{width:100%;height:auto;aspect-ratio:auto;object-fit:cover;object-position:50% 50%}
.brand-system .gallery-buttons{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:8px;max-height:230px;overflow-y:auto;padding:3px;scrollbar-width:thin;overscroll-behavior:contain}
.brand-system .gallery-buttons button{width:100%;height:auto;aspect-ratio:4/3;min-height:44px;padding:0;border:2px solid transparent;background:#e8edf1;border-radius:4px;overflow:hidden;cursor:pointer}
.brand-system .gallery-buttons button[aria-pressed="true"]{border-color:#172d46;box-shadow:0 0 0 1px #fff inset}
.brand-system .gallery-buttons img{width:100%;height:100%;object-fit:cover}
.brand-system .gallery-buttons button:focus-visible,.brand-system .library-disclosure>summary:focus-visible{outline:3px solid #007da1;outline-offset:3px}
.gallery-count{font-size:13px;color:#40546b;line-height:1.5;margin:12px 0}
.gallery-skip{display:block;width:fit-content;margin-bottom:10px;font-size:13px;text-decoration:underline}
.library-section{padding-top:0}
.library-disclosure{border-block:1px solid var(--line);padding-block:20px}
.library-disclosure>summary{cursor:pointer;font-size:clamp(18px,2vw,24px);font-weight:600;padding:10px 0;min-height:44px}
.library-gallery{margin-top:22px}
.library-gallery .product-gallery{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px 28px;align-items:start}
.library-gallery .product-gallery-main{grid-column:1;grid-row:2/4}
.library-gallery .gallery-skip{grid-column:1/-1;margin:0}
.library-gallery .gallery-count{grid-column:2;grid-row:2;margin:0}
.brand-system .library-gallery .gallery-buttons{grid-column:2;grid-row:3;max-height:360px;grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}
.library-gallery .gallery-note,.library-gallery noscript{grid-column:1/-1}
.gallery-fallback{padding-left:22px}
@media(max-width:700px){
 .library-gallery .product-gallery{display:block}
 .library-gallery .gallery-count{margin:12px 0}
 .library-gallery .gallery-skip{margin-bottom:10px}
 .brand-system .library-gallery .gallery-buttons{max-height:240px}
 .brand-system .product-gallery-main>img{height:auto;aspect-ratio:auto}
}
.library-gallery .product-gallery{grid-template-rows:auto min-content minmax(0,1fr) auto}

/* Filename-library frames: one fixed slot owns dimensions, every photo fills that slot. */
.brand-system .product-photo,
.brand-system .category-photo,
.brand-system .product-gallery .product-gallery-main,
.brand-system .production-grid .production-card .catalog-image-frame{position:relative;display:block;overflow:hidden;isolation:isolate;width:100%;height:auto}
.brand-system .product-photo{aspect-ratio:1.28}
.brand-system .category-photo{aspect-ratio:1.4}
.brand-system .product-gallery .product-gallery-main{aspect-ratio:4/3}
.brand-system .production-grid .production-card .catalog-image-frame{aspect-ratio:1.58;border-radius:var(--radius)}
.brand-system .product-card .product-photo>img,
.brand-system .category-card .category-photo>img,
.brand-system .product-gallery .product-gallery-main>img,
.brand-system .production-grid .production-card .catalog-image-frame>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:var(--image-position,50% 50%);transform:none}
.brand-system .product-gallery .gallery-buttons button{position:relative;min-width:0}
.brand-system .product-gallery .gallery-buttons button>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--image-position,50% 50%)}
.brand-system .bridge-photo>img{object-fit:cover;object-position:var(--image-position,50% 50%)}
@media(max-width:600px){.brand-system .category-photo{aspect-ratio:1.22}}

/* Small card previews share the existing image frame and stay hidden until ready. */
.brand-system .product-card[data-card-preview]{position:relative}
.brand-system .product-card[data-card-preview] .product-photo>img,
.brand-system .product-card[data-card-preview] .product-main:hover .product-photo>img{
 object-position:var(--preview-position,var(--image-position,50% 50%));
 transform:scale(var(--preview-zoom,1));
 transition:none;
 user-select:none;
}
.brand-system .product-card[data-card-preview]>.card-preview-controls{
 display:none;position:absolute;top:0;left:0;width:100%;aspect-ratio:1.28;
 pointer-events:none;z-index:2;
}
.brand-system .product-card[data-card-preview].is-preview-ready>.card-preview-controls{display:block}
.brand-system .product-card[data-card-preview] .card-preview-track{
 display:none;position:absolute;bottom:8px;left:8px;right:8px;height:3px;
 gap:3px;pointer-events:none;z-index:1;
}
.brand-system .product-card[data-card-preview].is-preview-ready .card-preview-track{display:flex}
.brand-system .card-preview-track>i{
 display:block;flex:1 1 0;min-width:0;height:3px;border-radius:2px;
 background:rgb(23 45 70 / .35);box-shadow:0 0 0 1px rgb(23 45 70 / .2);
}
.brand-system .card-preview-track>i[data-active="true"]{background:#fff}
.brand-system .card-preview-count{
 display:none;
 position:absolute;top:8px;right:8px;padding:2px 6px;border-radius:10px;
 background:rgb(255 255 255 / .88);color:var(--ink);font-size:11px;
 line-height:1.4;font-variant-numeric:tabular-nums;
}
.brand-system .card-preview-status{
 position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
 clip-path:inset(50%);white-space:nowrap;border:0;
}

/* Product groups use the service-page rhythm; all explanatory copy precedes the catalogue. */
.brand-system .category-intro{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:60px;align-items:center;
}
.brand-system .category-intro>*{min-width:0;width:100%}
.brand-system .category-copy h1{margin:0}
.brand-system .category-summary{
 max-width:60ch;margin:20px 0 0;font-size:18px;line-height:1.6;color:var(--muted);
}
.brand-system .category-description{
 max-width:60ch;margin:14px 0 0;font-size:16px;line-height:1.7;color:var(--muted);
}
.brand-system .category-visual{
 position:relative;display:block;overflow:hidden;isolation:isolate;margin:0;
 width:100%;height:350px;border-radius:var(--radius);background:var(--pale);
}
.brand-system .category-intro .category-visual>img{
 position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;
 object-fit:cover;object-position:var(--image-position,50% 50%);border-radius:inherit;
}
@media(max-width:850px){
 .brand-system .category-intro{gap:35px}
 .brand-system .category-visual{height:270px}
 .brand-system .category-summary{font-size:17px}
}
@media(max-width:600px){
 .brand-system .category-intro{gap:24px}
 .brand-system .category-summary{margin-top:16px;font-size:16px;line-height:1.6}
 .brand-system .category-description{margin-top:12px;font-size:15px;line-height:1.65}
 .brand-system .category-visual{height:235px}
}

/* Service hero photos fill a consistent frame without distorting their source ratio. */
.brand-system .method-intro>.method-visual{display:block;min-width:0;width:100%;margin:0}
.brand-system .method-intro>.method-visual>img{
 display:block;width:100%;height:auto;aspect-ratio:var(--method-aspect,4/3);max-width:none;
 object-fit:cover;object-position:var(--image-position,50% 50%);border-radius:var(--radius);
}

/* Useful preparation detail remains optional in the visible page hierarchy. */
.brand-system .product-preparation{margin-top:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.brand-system .product-preparation>summary{padding:14px 0;min-height:48px;font-size:16px;cursor:pointer;color:var(--ink)}
.brand-system .product-preparation>summary::marker{color:var(--blue)}
.brand-system .product-preparation[open]>summary{padding-bottom:8px}
.brand-system .product-preparation .detail-table{margin:0 0 8px}
.brand-system .product-preparation .detail-table>div:first-child{border-top:0}

/* Service explanations align with the hero/catalogue; columns read in source order.
   WCAG 1.3.2 / 1.4.10: keep each paragraph together and reflow to one column. */
.brand-system .service-copy{
 padding-top:40px;column-count:2;column-gap:60px;
 font-size:16px;line-height:1.75;color:var(--muted);
}
.brand-system .service-copy p{break-inside:avoid;margin:0 0 18px}
.brand-system .service-copy p:last-child{margin-bottom:0}
.brand-system .service-copy+.section{padding-top:40px}
@media(max-width:850px){
 .brand-system .service-copy{column-count:1;padding-top:32px}
 .brand-system .service-copy p{max-width:68ch}
 .brand-system .service-copy+.section{padding-top:36px}
}
@media(max-width:600px){
 .brand-system .service-copy{padding-top:28px;font-size:15px;line-height:1.75}
 .brand-system .service-copy p{margin-bottom:16px}
 .brand-system .service-copy+.section{padding-top:30px}
}
