/* ATEX BIOMASA - light / warm industrial theme.
   Change the tokens below to adjust the complete colour palette. */
:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-light: #fcfaf6;
  --sand: #eee8dc;
  --sand-deep: #e1d8c7;
  --ink: #262e27;
  --muted: #62695f;
  --green: #28563b;
  --green-deep: #203e2f;
  --brand: #53bf40;
  --line: #dcded1;
  --white: #fff;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Verdana, Geneva, sans-serif;
  --radius: 8px;
  --container: 1240px;
  --site-header-height: 81px; /* No-JS fallback, including the bottom border. */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--site-header-height); }
/* Avoid a strip of the previous section when a short final section hits the
   document's scroll limit. Any extra room stays inside the contact section. */
main > section:last-child {
  min-height: max(0px, calc(100vh - var(--site-header-height) - var(--site-footer-height, 0px) + 1px));
  min-height: max(0px, calc(100dvh - var(--site-header-height) - var(--site-footer-height, 0px) + 1px));
}
@media print { main > section:last-child { min-height: 0; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
button { color: inherit; }
button:disabled { opacity: .35; cursor: default; }
::selection { background: #d6e9c9; color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--green); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.text-green { color: var(--green); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
h1, h2, h3 { font-weight: 600; }
h2 { font-size: clamp(32px, 3.55vw, 48px); line-height: 1.14; letter-spacing: -.045em; }
h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.035em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 52px; padding: 12px 23px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: white; font-size: 12px; font-weight: 700; line-height: 1.5; transition: background .18s, transform .18s; }
.button .icon { width: 18px; height: 18px; }
.button:hover { background: var(--green-deep); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 16px; gap: 16px; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 18px; min-height: 44px; font-size: 12px; font-weight: 700; color: var(--green); }
.text-link .icon { width: 19px; height: 19px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.small-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 500; }

.brand { flex-shrink: 0; }
.brand img { width: 222px; height: auto; }

.proof-strip { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 38px; margin-top: 62px; padding-block: 29px 35px; border-top: 1px solid var(--line); }
.proof-item { display: flex; gap: 22px; align-items: center; }
.proof-item + .proof-item { padding-left: 38px; border-left: 1px solid var(--line); }
.proof-item > strong { font-size: 36px; font-weight: 600; line-height: 1.25; letter-spacing: -.05em; white-space: nowrap; }
.proof-item > strong > span { color: var(--green); }
.proof-item div > span { display: block; font-size: 10px; font-weight: 600; line-height: 1.55; }
.proof-item small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; }

/* Products */
.products-section { background: var(--paper-light); border-top: 1px solid var(--line); }
.section-heading { display: flex; gap: 70px; align-items: flex-end; justify-content: space-between; margin-bottom: 43px; }
.section-heading > div { flex-shrink: 0; }
.section-heading > p { max-width: 335px; padding-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.product-card { padding: 30px 32px 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.product-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.product-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #d5deca; border-radius: 7px; color: var(--green); background: #eef0e3; }
.product-icon .icon { width: 22px; height: 22px; }
.product-tag { color: #547044; font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.product-card h3 { font-size: 28px; }
.product-description { max-width: 470px; min-height: 67px; margin-block: 14px 22px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.product-summary { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; padding-bottom: 26px; }
.product-summary strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.035em; line-height: 1.5; }
.product-summary strong > span { font-size: 10px; font-weight: 500; letter-spacing: 0; }
.product-summary strong.origin { font-size: 14px; letter-spacing: -.015em; }
.product-details { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.product-details summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 600; color: var(--green); }
.product-details summary .icon, .domestic-offer summary > .icon { width: 18px; height: 18px; transition: transform .2s; }
details[open] > summary .icon { transform: rotate(45deg); }
.detail-body { padding-bottom: 24px; }
.spec-list { margin: 0; font-size: 12px; }
.spec-list > div { display: flex; justify-content: space-between; padding-block: 7px; gap: 15px; }
dd { margin: 0; }
.spec-list dd { font-weight: 600; }
.classification { margin-top: 18px; font-size: 11px; line-height: 1.75; color: var(--muted); }
.classification > strong { display: block; color: var(--ink); margin-bottom: 5px; font-weight: 600; }
.product-note { margin-top: 12px; font-size: 10px; color: var(--muted); }
.section-note { color: var(--muted); margin-top: 18px; font-size: 10px; }
.domestic-offer { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.domestic-offer summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; font-size: 13px; font-weight: 600; }
.domestic-subtitle { display: inline-block; margin-left: 23px; color: var(--muted); font-size: 11px; font-weight: 400; }
.domestic-offer > div { max-width: 780px; padding-bottom: 20px; font-size: 13px; color: var(--muted); }

/* Logistics */
.logistics-section { background: var(--sand); }
.transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.transport-card { padding: 27px 0 6px; border-top: 1px solid #c1cbbb; }
.transport-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; color: var(--green); }
.transport-card-top > .icon { width: 36px; height: 36px; stroke-width: 1.3; }
.transport-card h3 { font-size: 23px; margin-bottom: 15px; }
.transport-card p { max-width: 320px; color: var(--muted); font-size: 12px; line-height: 1.9; }





/* About / chronology */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.about-copy > p:not(.eyebrow) { max-width: 485px; color: var(--muted); font-size: 13px; line-height: 1.95; margin-top: 23px; }
.about-values { display: flex; align-items: center; gap: 15px; margin-top: 33px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 11px; font-weight: 600; color: var(--green); }
.about-values .icon { width: 23px; }
.group-panel { margin-top: 22px; padding: 20px 22px; border: 1px solid #d7decd; border-radius: 10px; background: #f4f1e8; }
.group-panel h3 { font-size: 20px; margin-top: 8px; }
.group-panel p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 62px 1fr; gap: 21px; padding: 25px 0; border-top: 1px solid var(--line); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline-year { font-size: 13px; font-weight: 700; color: var(--green); line-height: 1.6; }
.timeline h3 { font-size: 16px; line-height: 1.5; letter-spacing: -.025em; }
.timeline p { color: var(--muted); font-size: 11px; line-height: 1.85; margin-top: 9px; }

/* Certificate preview and document link. */
.certificate-section { border-block: 1px solid var(--line); background: #efeee5; }
.certificate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 108px; align-items: center; }
.certificate-paper { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border-radius: 10px; min-height: 450px; background: #e1e3d5; }
.certificate-image-link { display: block; position: relative; width: min(260px, 100%); aspect-ratio: 780 / 1104; background: var(--paper-light); box-shadow: 6px 9px 30px #31432217; }
.certificate-image { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: white; }
.certificate-image.is-loaded { opacity: 1; }
.certificate-image.is-unavailable { display: none; }
.certificate-fallback { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 28px; border: 12px solid #f7f8f0; text-align: center; color: var(--green); }
.certificate-fallback > .icon { width: 47px; height: 47px; stroke-width: 1; }
.certificate-fallback strong { font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.certificate-fallback span { color: var(--muted); font-size: 10px; }

.certificate-copy > p:not(.eyebrow) { margin-top: 24px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.certificate-record { margin-top: 24px; }

.certificate-record dl { margin-block: 16px; font-size: 11px; }
.certificate-record dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 7px; border-bottom: 1px solid #dcded1; }
.certificate-record dt { color: var(--muted); }
.certificate-record dd { font-weight: 600; text-align: right; }

.certificate-copy > .text-link { margin-top: 14px; }

/* Gallery entries: assets/js/gallery.js. Photos: assets/img/gallery/. */
.gallery-section { background: var(--paper-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-link { position: relative; display: block; aspect-ratio: 1.36; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--sand); }
.gallery-link.is-missing { cursor: default; }
.gallery-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #748268; background: var(--sand); }
.gallery-placeholder::before, .gallery-placeholder::after { content: ""; position: absolute; border: 1px solid #d6d9c7; border-radius: 50%; width: 165px; height: 165px; }
.gallery-placeholder::after { width: 195px; height: 195px; }
.gallery-placeholder > .icon { width: 35px; height: 35px; stroke-width: 1.15; }
.placeholder-label { position: relative; z-index: 1; margin-top: 4px; font-size: 9px; font-weight: 500; letter-spacing: .04em; }
.gallery-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-link.is-ready:hover .gallery-image { transform: scale(1.04); }
.gallery-item figcaption { display: flex; align-items: flex-start; gap: 12px; margin-top: 15px; font-size: 11px; font-weight: 600; }

/* Contact */
.contact-section { background: var(--green-deep); color: #f5f3e8; }
.contact-section .eyebrow { color: #b9cdaa; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 120px; align-items: center; }
.contact-copy h2 { font-size: clamp(35px, 3.9vw, 54px); }
.contact-copy > p:not(.eyebrow) { max-width: 435px; font-size: 13px; line-height: 1.9; color: #c6d0c2; margin-top: 22px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 460px; padding-bottom: 16px; margin-top: 29px; border-bottom: 1px solid #4b6550; color: #f5f3e8; font-size: clamp(19px, 2.5vw, 31px); font-weight: 500; letter-spacing: -.035em; }
.contact-email > .icon { width: 25px; }
.contact-phone { display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 20px; color: #f5f3e8; font-size: 20px; }
.contact-phone .icon { width: 19px; }
.inquiry-note { color: #c8d1c3; font-size: 11px; line-height: 1.9; margin-top: 23px; max-width: 435px; }
.inquiry-note strong { color: #e7eddf; font-size: 10px; font-weight: 700; }
.inquiry-note p { margin-top: 5px; }
.button-light { border-color: #e6ebd8; background: #e6ebd8; color: var(--green-deep); margin-top: 26px; }
.button-light:hover { background: var(--paper-light); }
.contact-section :focus-visible { outline-color: #d7eabf; }
.company-card { border: 1px solid #50654e; border-radius: 8px; padding: 33px; background: #2c4935; }
.company-card-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid #4e6349; color: #c5d7b6; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.company-card-heading > .icon { width: 31px; height: 31px; stroke-width: 1.25; }
.company-card h3 { font-size: 18px; margin-top: 24px; letter-spacing: -.02em; }
.company-card address { font-style: normal; color: #c6d0c2; font-size: 12px; line-height: 1.85; margin-top: 13px; }
.company-details { font-size: 11px; margin: 24px 0; }
.company-details > div { display: flex; justify-content: space-between; padding-block: 6px; }
.company-details dt { color: #bac9af; }
.company-details dd { font-weight: 600; }
.company-map { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid #4e6349; color: #e2e9d9; font-size: 10px; }
.company-map > .icon { width: 16px; height: 16px; }

/* Footer. Only the studio credit uses the monospace stack from go.clss.pl. */
.footer-main { display: flex; align-items: center; gap: 32px; padding-block: 37px; }
.footer-brand img { width: 191px; }
.footer-main > p { font-size: 11px; color: var(--muted); }
.back-to-top { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; margin-left: auto; color: var(--green); }
.back-to-top .icon { width: 17px; height: 17px; transform: rotate(-45deg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 23px; border-top: 1px solid var(--line); }
.legal-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 9px; color: var(--muted); }







/* Accessible native dialogs / lightbox */
dialog { border: 0; color: var(--ink); padding: 0; }
dialog::backdrop { background: #142219dc; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; }
.icon-button > .icon { width: 20px; height: 20px; }
.lightbox { width: min(1100px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 32px); background: transparent; color: #f7f4ed; overflow: auto; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; }
.lightbox-counter { font-size: 12px; }
#lightbox-image { width: 100%; height: min(70dvh, 800px); object-fit: contain; }
.lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 4px 4px; }
#lightbox-caption { text-align: center; font-size: 12px; }
.previous .icon { transform: rotate(180deg); }
.lightbox :focus-visible { outline-color: white; }

/* Comfortable standard type, without third-party text fonts. */
:root { --sans: Verdana, Geneva, sans-serif; }
body { line-height: 1.65; }
.section { padding-block: 78px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 19px; }
h1, h2, h3 { font-weight: 600; }
h2 { letter-spacing: -.04em; }
h3 { letter-spacing: -.025em; }
.button { font-size: 14px; border-radius: 5px; }
.button-small { font-size: 13px; }
.text-link { font-size: 14px; }

.proof-strip { margin-top: 44px; padding-block: 26px 30px; }
.proof-item div > span { font-size: 12px; line-height: 1.5; }
.proof-item small { font-size: 11px; }
.section-heading { margin-bottom: 32px; }
.section-heading > p { font-size: 15px; line-height: 1.75; max-width: 345px; }
.products-grid { align-items: start; }
.product-card { padding: 26px 28px 0; }
.product-top { margin-bottom: 17px; }
.product-tag { font-size: 12px; }
.product-description { font-size: 14px; line-height: 1.7; min-height: 72px; margin-block: 12px 20px; }
.small-label { font-size: 12px; }
.product-summary { padding-bottom: 20px; }
.product-summary strong { font-size: 21px; }
.product-summary strong > span { font-size: 12px; }
.product-summary strong.origin { font-size: 15px; }
.product-details summary { font-size: 13px; min-height: 54px; }
.spec-list { font-size: 14px; }
.classification { font-size: 13px; }
.product-note, .section-note { font-size: 12px; }
.domestic-offer summary { min-height: 66px; font-size: 14px; }
.domestic-subtitle { font-size: 13px; }
.domestic-offer > div { font-size: 14px; }
.transport-card { padding-top: 22px; }
.transport-card-top { margin-bottom: 18px; }
.transport-card p { font-size: 14px; line-height: 1.75; }


.about-grid { gap: 74px; }
.about-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; margin-top: 18px; }
.about-values { font-size: 13px; margin-top: 24px; padding-top: 20px; }
.group-panel h3 { font-size: 18px; }
.group-panel p { font-size: 14px; }
.history-details { min-width: 0; }
.history-details > summary { display: none; }
.timeline > li { padding-block: 20px; }
.timeline p { font-size: 13px; line-height: 1.75; margin-top: 7px; }
.timeline h3 { font-size: 17px; }
.certificate-grid { gap: 76px; }
.certificate-paper { min-height: 420px; }
.certificate-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; margin-top: 18px; }
.certificate-record { margin-top: 18px; }
.certificate-record dl { font-size: 13px; }

/* A single horizontal strip: more photos never make the page longer. */
.gallery-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 3px 0 8px; }
.gallery-grid::-webkit-scrollbar, .products-grid::-webkit-scrollbar { display: none; }
.gallery-item { min-width: 0; scroll-snap-align: start; }
.gallery-link { aspect-ratio: 1.45; }
.gallery-item:nth-child(3n + 2) .gallery-placeholder { background: #e7ebdf; }
.gallery-item:nth-child(3n + 3) .gallery-placeholder { background: #e8e5da; }
.gallery-image { opacity: 0; }
.gallery-image.is-loaded { opacity: 1; }
.placeholder-label { font-size: 12px; letter-spacing: 0; }
.gallery-item figcaption { font-size: 14px; margin-top: 12px; }

.carousel-controls { display: flex; align-items: center; gap: 24px; margin-top: 17px; min-height: 44px; }
.carousel-hint { font-size: 12px; color: var(--muted); white-space: nowrap; }
.carousel-progress { height: 2px; background: var(--line); overflow: hidden; flex: 1; }
.carousel-progress > span { display: block; height: 100%; width: 0; background: var(--green); }
.carousel-arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.carousel-arrow { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #bec7b4; background: transparent; border-radius: 50%; color: var(--green); transition: background .15s; }
.carousel-arrow:not(:disabled):hover { background: #e4ebda; }
.carousel-arrow .icon { width: 18px; height: 18px; }
.mobile-controls { display: none; }
.contact-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; }
.inquiry-note { font-size: 13px; }
.inquiry-note strong { font-size: 12px; }
.company-card address { font-size: 14px; }
.company-details { font-size: 13px; }
.company-map { font-size: 13px; min-height: 44px; }
.footer-main { padding-block: 28px; }
.footer-main > p { font-size: 13px; }
.legal-copy { font-size: 11px; }

.footer-bottom { padding-block: 13px; }


.lightbox-label { font-size: 13px; }
#lightbox-caption { font-size: 14px; }

/* Tablet. */
@media (min-width: 651px) and (max-width: 960px) {
  :root { --site-header-height: 71px; }
}
@media (min-width: 1560px) { :root { --container: 1320px; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .brand img { width: 195px; }

  .proof-strip { gap: 20px; }
  .proof-item { gap: 16px; }
  .proof-item + .proof-item { padding-left: 20px; }
  .proof-item > strong { font-size: 32px; }
  .section-heading { gap: 36px; }
  h2 { font-size: 39px; }
  .about-grid, .certificate-grid, .contact-grid { gap: 45px; }
  .product-summary { grid-template-columns: 1.2fr 1fr; gap: 12px; }
  .product-summary strong { font-size: 18px; }
  .product-summary strong.origin { font-size: 14px; }
  .contact-email { font-size: 28px; }
}
@media (max-width: 850px) {
  .container { width: calc(100% - 48px); }
  .section { padding-block: 60px; }

  .proof-strip { gap: 18px; margin-top: 30px; }
  .proof-item { flex-direction: column; align-items: flex-start; gap: 5px; }
  .proof-item + .proof-item { padding-left: 18px; }
  .proof-item > strong { font-size: 30px; }
  .proof-item div > span { font-size: 12px; }
  .proof-item small { font-size: 10px; }
  .section-heading { gap: 25px; }
  .section-heading > p { max-width: 245px; font-size: 14px; }
  h2 { font-size: 33px; }
  .product-card { padding: 22px 22px 0; }
  .product-card h3 { font-size: 25px; }
  .product-description { min-height: 94px; }
  .product-summary { grid-template-columns: 1fr; gap: 12px; }
  .product-summary strong { font-size: 21px; }
  .product-tag { font-size: 11px; }
  .transport-grid { gap: 22px; }
  .transport-card h3 { font-size: 21px; }


  .about-grid { gap: 30px; }
  .timeline > li { grid-template-columns: 43px 1fr; gap: 11px; padding-block: 18px; }
  .timeline h3 { font-size: 15px; }
  .timeline p { font-size: 12px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .certificate-grid { gap: 30px; grid-template-columns: .8fr 1.2fr; }
  .certificate-paper { min-height: 390px; padding: 18px; }
  .certificate-record dl > div { display: block; padding-block: 7px; }
  .certificate-record dd { text-align: left; margin-top: 3px; }
  .gallery-grid { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; }
  .contact-grid { gap: 28px; }
  .contact-copy h2 { font-size: 36px; }
  .contact-email { font-size: 23px; gap: 10px; }
  .company-card { padding: 23px; }
  .company-card h3 { font-size: 17px; }
  .footer-bottom { align-items: flex-start; }
  .legal-copy { flex-direction: column; align-items: flex-start; gap: 0; }
  
}

/* Phone: fewer vertical blocks, not microscopic type. */
@media (max-width: 650px) {
  :root { --site-header-height: 69px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 42px; }
  
  .brand img { width: 170px; }

  .proof-strip { margin-top: 25px; padding-block: 21px 25px; gap: 12px; grid-template-columns: 1.35fr 1fr 1fr; }
  .proof-item { gap: 6px; }
  .proof-item + .proof-item { padding-left: 12px; }
  .proof-item > strong { font-size: 28px; letter-spacing: -.035em; }
  .proof-item div > span { font-size: 11px; line-height: 1.5; }
  .proof-item small { font-size: 10px; line-height: 1.5; margin-top: 4px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; letter-spacing: .12em; }
  h2 { font-size: 31px; line-height: 1.12; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading > p { max-width: 100%; padding: 0; margin-top: 14px; font-size: 14px; line-height: 1.7; }
  .section-heading > div { flex-shrink: 1; }
  .products-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 89%; gap: 13px; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 3px 0 8px; }
  .product-card { min-width: 0; padding: 21px 21px 0; scroll-snap-align: start; }
  .product-top { gap: 10px; margin-bottom: 15px; }
  .product-icon { width: 34px; height: 34px; }
  .product-icon .icon { width: 20px; height: 20px; }
  .product-tag { font-size: 11px; }
  .product-card h3 { font-size: 26px; }
  .product-description { font-size: 14px; min-height: 94px; line-height: 1.65; margin-block: 12px 16px; }
  .product-summary { grid-template-columns: 1fr; gap: 9px; padding-bottom: 17px; }
  .product-summary > div + div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
  .product-summary > div + div .small-label { margin: 0; }
  .product-summary strong { font-size: 21px; line-height: 1.3; }
  .product-summary strong.origin { font-size: 13px; }
  .small-label { font-size: 12px; margin-bottom: 5px; }
  .product-details summary { min-height: 52px; font-size: 13px; }
  .detail-body { padding-bottom: 19px; }
  .spec-list { font-size: 13px; }
  .classification { font-size: 12px; }
  .mobile-controls { display: flex; }
  .carousel-controls { margin-top: 12px; gap: 12px; }
  .carousel-hint { font-size: 11px; white-space: normal; max-width: 175px; line-height: 1.45; }
  .carousel-arrows { gap: 6px; }
  .carousel-progress { min-width: 20px; }
  .section-note { font-size: 11px; margin-top: 14px; line-height: 1.65; }
  .domestic-offer { margin-top: 20px; }
  .domestic-offer summary { min-height: 62px; font-size: 14px; }
  .domestic-subtitle { display: block; margin: 2px 0 0; font-size: 12px; }
  .domestic-offer > div { font-size: 14px; }
  /* Small icon rows instead of three tall transport cards. */
  .transport-grid { grid-template-columns: 1fr; gap: 0; }
  .transport-card { display: grid; grid-template-columns: 37px 1fr; column-gap: 16px; row-gap: 5px; padding-block: 16px; }
  .transport-card-top { grid-column: 1; grid-row: 1 / 3; margin: 0; align-items: start; padding-top: 2px; }
  .transport-card-top > .icon { width: 29px; height: 29px; }
  .transport-card h3 { grid-column: 2; margin: 0; font-size: 20px; }
  .transport-card p { grid-column: 2; max-width: none; font-size: 14px; line-height: 1.65; }




  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.75; margin-top: 16px; }
  .about-values { font-size: 12px; gap: 12px; margin-top: 20px; padding-top: 17px; }
  .group-panel { margin-top: 18px; padding: 17px 18px; }
  .group-panel h3 { font-size: 17px; }
  .group-panel p { font-size: 13px; line-height: 1.7; }
  .group-panel { margin-top: 18px; padding: 17px 18px; }
  .group-panel h3 { font-size: 17px; }
  .group-panel p { font-size: 13px; line-height: 1.7; }
  .history-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .history-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; font-size: 14px; font-weight: 600; color: var(--green); }
  .history-details > summary .icon { width: 18px; height: 18px; transition: transform .15s; }
  .timeline > li { grid-template-columns: 45px 1fr; gap: 16px; padding-block: 17px; }
  .timeline > li:last-child { padding-bottom: 20px; }
  .timeline h3 { font-size: 16px; }
  .timeline p { font-size: 13px; }
  .certificate-grid { grid-template-columns: 1fr; gap: 0; }
  .certificate-paper { display: none; }
  .certificate-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 14px; }
  .certificate-record dl > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 14px; font-size: 12px; }
  .certificate-record dd { margin: 0; text-align: left; }
  .certificate-record dl { margin-block: 12px; }
  
  .certificate-copy > .text-link { margin-top: 12px; min-height: 44px; }
  .gallery-grid { grid-auto-columns: 89%; gap: 13px; }
  .gallery-link { aspect-ratio: 1.45; }
  .gallery-item figcaption { font-size: 14px; margin-top: 10px; }
  .gallery-placeholder::before { width: 135px; height: 135px; }
  .gallery-placeholder::after { width: 164px; height: 164px; }
  .gallery-placeholder > .icon { width: 33px; height: 33px; }
  .placeholder-label { font-size: 11px; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 27px; }
  .contact-copy h2 { font-size: 34px; }
  .contact-copy > p:not(.eyebrow) { font-size: 14px; margin-top: 15px; line-height: 1.75; }
  .contact-email { font-size: clamp(24px, 6.9vw, 31px); margin-top: 23px; padding-bottom: 15px; }
  .contact-email > .icon { width: 21px; }
  .inquiry-note { margin-top: 17px; font-size: 13px; line-height: 1.7; }
  .button-light { margin-top: 19px; min-height: 47px; }
  .company-card { padding: 23px; }
  .company-card-heading { display: none; }
  .company-card h3 { font-size: 19px; margin-top: 0; }
  .company-card address { font-size: 14px; margin-top: 10px; line-height: 1.65; }
  .company-details { font-size: 12px; margin-block: 17px; }
  .company-details > div { padding-block: 4px; }
  .company-map { font-size: 12px; padding-top: 10px; }
  .footer-main { padding-block: 23px; gap: 14px; }
  .footer-brand img { width: 164px; }
  .footer-main > p { display: none; }
  .footer-bottom { flex-direction: column; gap: 13px; padding-block: 15px 23px; }
  .legal-copy { flex-direction: row; align-items: center; gap: 4px 13px; font-size: 11px; }
  
  
  
  .lightbox { width: calc(100% - 20px); }
  #lightbox-image { height: 60dvh; }
  .lightbox-bottom { gap: 12px; }
  #lightbox-caption { font-size: 12px; line-height: 1.6; }
  
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .brand img { width: 142px; }

  .proof-strip { gap: 8px; }
  .proof-item + .proof-item { padding-left: 8px; }
  .proof-item > strong { font-size: 24px; }
  .proof-item div > span { font-size: 10px; }
  .product-card { padding-inline: 18px; }
  .carousel-hint { max-width: 142px; }
  
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation: none !important; }
}
@media print {
  .carousel-controls, .site-footer, dialog { display: none !important; }
  .container { width: 100%; }
  .section { padding-block: 22px; background: white; color: #222; }
  .about-grid, .certificate-grid, .contact-grid { display: block; }
  .products-grid, .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .history-details:not([open]) > :not(summary) { display: block !important; }
  .contact-copy > p, .contact-email, .inquiry-note, .company-card { color: #222; }
  .company-card { background: white; border-color: #bbb; }
  .product-card, .transport-card, .company-card { break-inside: avoid; }
}

/* Compact opening and mobile navigation. Shared by PL and EN. */
.site-header { position: sticky; z-index: 30; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 26px; }
.site-header .brand img { width: 208px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #535c50; font-size: 13px; font-weight: 600; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; gap: 2px; background: #eeece2; border-radius: 24px; }
.language-switch button { min-width: 38px; min-height: 38px; padding: 6px 9px; border: none; border-radius: 20px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; }
.language-switch button[aria-pressed="true"] { background: var(--green); color: white; }
.header-contact { min-height: 44px; font-size: 12px; }
.menu-toggle { display: none; }

.section.hero { padding-top: 36px; padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-group-link { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; margin-bottom: 19px; color: var(--green); font-size: 12px; line-height: 1.5; }
.hero-group-link .icon { width: 14px; height: 14px; }
.hero-group-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.hero h1 { font-size: clamp(44px, 5.1vw, 72px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
.hero-description { max-width: 455px; margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 24px; }
.hero-actions .button { min-height: 48px; }
.hero-actions .text-link { min-height: 44px; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; height: 415px; isolation: isolate; }
.hero-tree { display: block; position: relative; z-index: 1; width: auto; height: 100%; max-width: 100%; filter: drop-shadow(0 18px 30px #2941270d); }

.hero .proof-strip { margin-top: 26px; padding-block: 22px 26px; }

/* Native dialog keeps the menu above the page and contains keyboard focus. */
.mobile-menu { position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; width: min(392px, calc(100% - 22px)); max-width: none; height: 100vh; height: 100dvh; max-height: none; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; box-shadow: -18px 0 60px #203e2f18; }
.mobile-menu[open] { display: flex; flex-direction: column; animation: menu-enter .2s ease-out both; }
.mobile-menu::backdrop { background: #18291f63; }
.mobile-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; margin-inline: 26px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.mobile-menu-heading h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.035em; }
.menu-close { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid #d4d9c9; border-radius: 50%; background: transparent; color: var(--green); }
.menu-close:hover { background: #e8ecdf; }
.menu-close .icon { width: 21px; height: 21px; }
.mobile-nav { display: flex; flex-direction: column; margin: 14px 26px 24px; flex-shrink: 0; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 10px 0; color: var(--green-deep); font-size: 20px; font-weight: 500; letter-spacing: -.025em; border-bottom: 1px solid var(--line); }
.mobile-nav .icon { width: 18px; height: 18px; opacity: .5; }
.mobile-nav a:hover .icon { opacity: 1; }
.mobile-menu-bottom { margin-top: auto; padding: 0 26px max(24px, env(safe-area-inset-bottom)); flex-shrink: 0; }
.menu-language { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 24px; }
.menu-language-label { font-size: 12px; color: var(--muted); }
.mobile-language button { min-height: 44px; padding: 9px 15px; font-size: 12px; }
.menu-inquiry { display: flex; justify-content: space-between; width: 100%; min-height: 50px; font-size: 13px; }
.menu-email { display: block; width: fit-content; min-height: 44px; padding-block: 11px; margin: 8px auto 0; color: var(--muted); font-size: 12px; }
html.menu-open { overflow: hidden; }
@keyframes menu-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (max-width: 1180px) {
  .header-contact { display: none; }
  .site-header .brand img { width: 192px; }
  .header-inner { gap: 22px; }
  .main-nav { gap: 22px; }
  .hero-grid { gap: 30px; }
  .hero-visual { height: 380px; }
}
@media (max-width: 960px) {
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: 0 20px; }
  .header-actions { margin-left: auto; }
  .site-header .brand img { width: 184px; }
  .desktop-language { display: none; }
  .site-header .main-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 22px; padding-block: 6px; }
  .nav-enhanced .site-header .main-nav { display: none; }
  .nav-enhanced .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-width: 90px; min-height: 44px; padding: 9px 15px; border: 1px solid #d7ddcd; border-radius: 26px; color: var(--green-deep); background: #e9edde; font-size: 12px; line-height: 1.4; }
  .menu-toggle:hover { background: #dfe7d3; }
  .menu-toggle .menu-glyph { display: block; flex-shrink: 0; }
  .section.hero { padding-top: 30px; }
  .hero-grid { gap: 22px; }
  .hero h1 { font-size: clamp(39px, 5.5vw, 54px); }
  .hero-group-link { font-size: 11px; margin-bottom: 14px; }
  .hero-description { margin-top: 18px; font-size: 14px; }
  .hero-actions { gap: 18px; margin-top: 20px; }
  .hero-actions .button { font-size: 13px; padding-inline: 18px; gap: 17px; }
  .hero-actions .text-link { font-size: 13px; gap: 12px; }
  .hero-visual { height: 350px; }
  .hero .proof-strip { margin-top: 24px; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 68px; }
  .site-header .brand img { width: 174px; }
  .section.hero { padding-top: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero-group-link { margin-bottom: 15px; font-size: 11px; min-height: 28px; }
  .hero h1 { font-size: clamp(37px, 10.2vw, 52px); line-height: 1.06; letter-spacing: -.05em; }
  .hero-description { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 440px; }
  .hero-actions { gap: 22px; margin-top: 19px; }
  .hero-actions .button { font-size: 12px; padding: 11px 17px; gap: 16px; min-height: 46px; }
  .hero-actions .text-link { font-size: 12px; gap: 10px; }
  .hero-visual { height: 172px; margin-top: 2px; }

  .hero .proof-strip { margin-top: 12px; padding-block: 18px 22px; }
}
@media (max-width: 370px) {
  .site-header .brand img { width: 160px; }
  .nav-enhanced .menu-toggle { min-width: 82px; padding-inline: 12px; gap: 8px; }
  .hero h1 { font-size: 36px; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding-inline: 13px; gap: 11px; }
  .hero-actions .text-link { font-size: 11px; gap: 7px; }
  .mobile-menu-heading { margin-inline: 21px; }
  .mobile-nav { margin-inline: 21px; }
  .mobile-menu-bottom { padding-inline: 21px; }
  .mobile-language button { padding-inline: 12px; }
}
@media (max-height: 620px) {
  .mobile-menu-heading { min-height: 72px; }
  .mobile-nav { margin-top: 6px; margin-bottom: 18px; }
  .mobile-nav a { min-height: 48px; font-size: 18px; }
  .menu-language { margin-bottom: 16px; }
  .mobile-menu-bottom { padding-bottom: 14px; }
}
@media print {
  .site-header, .hero-visual, .mobile-menu { display: none !important; }
  .hero-grid { display: block; }
}

/* Opening layout and language controls: v6. */
.hero-grid-split {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, .82fr);
  gap: 28px;
  align-items: center;
}
.hero-copy-left { container-type: inline-size; min-width: 0; max-width: none; }
.hero-copy-right { min-width: 0; max-width: 340px; justify-self: end; }
.hero h1 {
  font-size: clamp(34px, 3.8vw, 53px);
  line-height: 1.09;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
@supports (font-size: 1cqi) {
  .hero-copy-left h1 { font-size: clamp(30px, 11.8cqi, 54px); }
}
.hero-heading-line { display: block; white-space: nowrap; }
.hero-group-link { margin-bottom: 18px; }
.hero-description { margin-top: 20px; font-size: 14px; max-width: 400px; }
.hero-actions { gap: 10px 20px; margin-top: 24px; }
.hero-actions .button { font-size: 13px; gap: 18px; padding-inline: 18px; }
.hero-actions .text-link { font-size: 13px; gap: 12px; }
.hero-visual { height: 455px; margin: 0; }
.hero-tree { width: 100%; height: 100%; max-width: 430px; object-fit: contain; }

.hero-side-kicker { margin: 0 0 14px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.hero .proof-strip { margin-top: 24px; }
.header-actions { flex: 0 0 auto; gap: 18px; }
.header-language { display: inline-flex; flex-shrink: 0; }
.header-language button { min-height: 40px; min-width: 37px; }
.menu-language { margin: 20px 0 0; }

@media (min-width: 961px) and (max-width: 1100px) {
  .hero-grid-split { gap: 20px; }
  .hero-visual { height: 390px; }

  .hero-description { font-size: 13px; }
  .hero-actions { gap: 6px 14px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 12px; }
}
@media (max-width: 960px) {
  .header-actions { gap: 10px; }
  .header-language { display: inline-flex; }
  .hero-grid-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; }
  .hero-visual { height: 335px; }
  .hero-copy-right { grid-column: 1 / -1; max-width: none; width: 100%; justify-self: stretch; }

}
@media (max-width: 650px) {
  .hero-grid-split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-header .brand img { width: 162px; }
  .header-actions { gap: 8px; }
  .nav-enhanced .menu-toggle { min-width: 44px; width: 44px; min-height: 44px; padding: 10px; gap: 0; }
  .menu-toggle-label { display: none; }
  .header-language { padding: 2px; gap: 0; }
  .header-language button { min-width: 34px; min-height: 40px; padding: 6px; font-size: 11px; }
  .hero h1 { font-size: clamp(34px, 10.8vw, 52px); }
  .hero-group-link { margin-bottom: 16px; }
  .hero-description { font-size: 14px; margin-top: 16px; max-width: 450px; }
  .hero-actions { margin-top: 20px; gap: 10px 22px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 12px; }
  .hero-visual { height: 224px; }
  .hero-tree { max-width: 280px; }
  
  .hero-side-kicker { font-size: 10px; margin-bottom: 10px; }

}
@media (max-width: 370px) {
  .site-header .brand img { width: 136px; }
  .hero h1 { font-size: 34px; }
  .hero-actions { gap: 8px 14px; }
  .hero-actions .button { padding-inline: 14px; gap: 12px; }
  .hero-actions .text-link { font-size: 11px; }
}
@media print {
  .hero-grid-split { display: block; }
  .hero-copy-left { container-type: normal; }
  .hero h1 { font-size: 30px; }
  .hero-copy-right { max-width: none; margin-top: 22px; }
  
}


/* Navigation reflects the visible section, not just the last clicked link. */
.main-nav { gap: clamp(15px, 1.5vw, 23px); }
.main-nav a { position: relative; border-radius: 3px; transition: color .15s, background-color .15s, box-shadow .15s; }
.main-nav a.is-active { color: var(--green-deep); background: #e6eddf; box-shadow: 0 0 0 7px #e6eddf; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--green); border-radius: 2px; }
.mobile-nav a.is-active { color: var(--green-deep); background: #e6eddf; box-shadow: -10px 0 0 #e6eddf, 10px 0 0 #e6eddf; border-bottom-color: #b7cba7; }
.mobile-nav a.is-active .icon { opacity: 1; }

/* Approved photographic-style tree: naturally transparent, no frame. */
.hero-visual { height: 430px; }
.hero-tree { display: block; width: 100%; height: 100%; max-width: 430px; object-fit: contain; filter: none; }
.hero-copy-right { width: 100%; max-width: 300px; }
.hero-side-kicker { font-size: 11px; line-height: 1.65; letter-spacing: .07em; margin-bottom: 19px; }
.hero-side-points { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; gap: 16px; margin: 0; padding: 0 0 0 19px; list-style: disc outside; overflow: visible; }
.hero-side-points li { padding-left: 5px; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--green-deep); }
.hero-side-points li::marker { color: var(--green); font-size: .72em; }

/* Group links: one in the company block, one beside the legal company name. */
.about-group-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; width: fit-content; margin-top: 18px; padding: 10px 17px; border: 1px solid #b8c7aa; border-radius: 5px; background: transparent; color: var(--green-deep); font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s; }
.about-group-link .icon { width: 17px; height: 17px; }
.about-group-link:hover { background: #e5ecdd; border-color: var(--green); }
.footer-group-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--green); font-size: 11px; font-weight: 600; }
.footer-group-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-copy { flex-direction: row; gap: 8px 22px; align-items: center; }


@media (max-width: 1320px) { .header-contact { display: none; } }
@media (min-width: 961px) and (max-width: 1100px) {
  .site-header .brand img { width: 180px; }
  .header-inner { gap: 20px; }
  .main-nav { gap: 16px; }
  .hero-visual { height: 370px; }
  .hero-side-points li { font-size: 15px; }
}
@media (max-width: 960px) {
  .hero-visual { height: 310px; }
  .hero-copy-right { max-width: none; }
  .hero-side-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .hero-side-points li { font-size: 14px; }
}
@media (max-width: 650px) {
  .hero-grid-split { gap: 14px; }
  /* v18: phone tree is 1.5x the previous size, without transform scaling. */
  .hero-visual { height: 336px; }
  .hero-tree { max-width: 375px; }
  .hero-side-kicker { font-size: 10px; margin-bottom: 9px; }
  .hero-side-points { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-left: 17px; }
  .hero-side-points li { font-size: 14px; font-weight: 500; padding-left: 3px; }
  .about-group-link { margin-top: 15px; font-size: 12px; }
  .legal-copy { gap: 1px 18px; }
  .footer-bottom { gap: 8px; }
  .footer-group-link { min-height: 32px; }
}
@media print {
  .hero-visual { display: none !important; }
  .hero-side-points { grid-template-columns: minmax(0, 1fr); }
}


/* v9 footer and hero polish */
.hero-group-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-group-label .status-dot { margin-top: 0; }
.hero-group-link { display: none !important; }

.footer-bottom {
  padding-block: 10px 12px;
  gap: 14px;
  border-top: 1px solid rgba(116, 128, 103, .22);
}
.legal-copy {
  gap: 6px 16px;
  font-size: 10px;
  line-height: 1.5;
  color: #616a5b;
}
.footer-group-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 0;
  color: #5e6757;
  font-size: 10px;
  font-weight: 500;
}
.footer-group-link .footer-link-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.footer-group-link:hover,
.footer-group-link:focus-visible { color: var(--green); text-decoration: none; }


.gallery-grid .photo-card-image { object-fit: cover; }

@media (max-width: 960px) {
  .hero-group-label { font-size: 11px; margin-bottom: 14px; }
}
@media (max-width: 650px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 10px 14px;
  }
  .legal-copy {
    flex-direction: row;
    align-items: center;
    gap: 4px 12px;
    font-size: 10px;
  }
  .footer-group-link { font-size: 10px; }
  .footer-group-link .footer-link-icon { width: 11px; height: 11px; }
}



/* v14: a gentle breeze, filtered light and tiny drifting fireflies.
   The existing WebP is reused. Only transforms and opacity are animated.
   JavaScript enables motion after load and pauses it off screen / in a hidden tab. */
.tree-visual {
  --tree-breeze-duration: 12.8s;
  --tree-light-duration: 18s;
  --tree-sway-left: -1deg;
  --tree-sway-right: 1.15deg;
  --tree-sway-rest: -.3deg;
}
.tree-motion-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 430px;
  min-width: 0;
  transform-origin: var(--tree-origin-x, 49.5%) var(--tree-origin-y, 94%);
  pointer-events: none;
}
.tree-motion-stage > .hero-tree { min-height: 0; }
.tree-canopy-light { display: none; }
.tree-visual.has-tree-motion .tree-motion-stage {
  animation: atex-tree-breeze var(--tree-breeze-duration) cubic-bezier(.45, 0, .55, 1) infinite both;
  animation-play-state: paused;
}
.tree-visual[data-tree-motion="running"] .tree-motion-stage {
  animation-play-state: running;
  will-change: transform;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  .tree-visual.has-tree-motion .tree-canopy-light {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at 34% 29%, #fff6d9 0%, #fff6d955 29%, #fff6d900 56%);
    -webkit-mask-image: var(--tree-silhouette);
    mask-image: var(--tree-silhouette);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: .025;
    animation: atex-tree-daylight var(--tree-light-duration) ease-in-out infinite both;
    animation-play-state: paused;
  }
  .tree-visual[data-tree-motion="running"] .tree-canopy-light {
    animation-play-state: running;
    will-change: opacity;
  }
}

/* Bounded to the painted image, not the whole hero; no extra canvas or images. */
.tree-fireflies {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--tree-painted-width, 78%);
  height: var(--tree-painted-height, 90%);
  z-index: 2;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}
.tree-firefly {
  position: absolute;
  left: var(--fly-x);
  top: var(--fly-y);
  width: var(--fly-size, 2px);
  height: var(--fly-size, 2px);
  border-radius: 50%;
  background: #e4eea7;
  box-shadow: 0 0 3px 1px #8daa5299, 0 0 7px 2px #bad16c55;
  opacity: 0;
  animation: atex-firefly-drift var(--fly-duration, 10s) ease-in-out infinite both,
             atex-firefly-glow var(--fly-glow-duration, 8s) ease-in-out infinite both;
  animation-delay: var(--fly-delay, 0s);
  animation-play-state: paused;
}
.tree-visual[data-tree-motion="running"] .tree-firefly {
  animation-play-state: running;
}
.tree-visual:not([data-tree-motion="running"]) .tree-fireflies { visibility: hidden; }

@keyframes atex-tree-breeze {
  0%, 100% { transform: rotate(0deg); }
  24% { transform: rotate(var(--tree-sway-left)); }
  53% { transform: rotate(var(--tree-sway-right)); }
  79% { transform: rotate(var(--tree-sway-rest)); }
}
@keyframes atex-tree-daylight {
  0%, 100% { opacity: .025; }
  37% { opacity: .13; }
  70% { opacity: .06; }
}
@keyframes atex-firefly-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  31% { transform: translate3d(var(--fly-drift-x, 10px), var(--fly-drift-y, -14px), 0); }
  68% { transform: translate3d(calc(var(--fly-drift-x, 10px) * -.5), calc(var(--fly-drift-y, -14px) * .5), 0); }
}
@keyframes atex-firefly-glow {
  0%, 100% { opacity: .08; }
  38% { opacity: var(--fly-opacity, .78); }
  74% { opacity: .2; }
}
@media (max-width: 650px) {
  .tree-visual {
    --tree-breeze-duration: 15s;
    --tree-light-duration: 20s;
    --tree-sway-left: -.6deg;
    --tree-sway-right: .72deg;
    --tree-sway-rest: -.2deg;
  }
  .tree-firefly:nth-child(n + 6) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tree-visual.has-tree-motion .tree-motion-stage {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }
  .tree-visual .tree-canopy-light,
  .tree-visual .tree-fireflies { display: none !important; }
  .tree-firefly { animation: none !important; }
}
@media print {
  .tree-canopy-light, .tree-fireflies { display: none !important; }
  .tree-motion-stage { animation: none !important; transform: none !important; }
}


/* v13: quieter hero, stacked introductions, sourcing note and chronology. */
.hero { --hero-copy-size: 14px; --hero-copy-leading: 1.75; }
.hero-description,
.hero-side-points li {
  font-family: var(--sans);
  font-size: var(--hero-copy-size);
  font-weight: 400;
  line-height: var(--hero-copy-leading);
  letter-spacing: normal;
  color: var(--muted);
}
/* Keep the same mobile calls to action; do not render them on desktop. */
@media (min-width: 961px) {
  .hero-actions { display: none; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .hero { --hero-copy-size: 13px; }
}
@media (max-width: 650px) {
  .hero { --hero-copy-leading: 1.7; }
}

.section-heading.section-heading-stacked {
  display: block;
  margin-bottom: 32px;
}
.section-heading-stacked > div { min-width: 0; }
.section-intro {
  max-width: 760px;
  margin-top: 19px;
  padding: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}
.supply-note {
  margin-top: 34px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--green);
}
.supply-note h3 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--green-deep);
}
.supply-note p {
  max-width: 850px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* The panel and timeline intentionally share the same type scale. */
.about-section {
  --about-heading-size: 18px;
  --about-body-size: 14px;
  --about-body-leading: 1.8;
}
.about-section .group-panel h3,
.about-section .timeline h3 {
  font-family: var(--sans);
  font-size: var(--about-heading-size);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.about-section .group-panel p,
.about-section .timeline p {
  font-family: var(--sans);
  font-size: var(--about-body-size);
  font-weight: 400;
  line-height: var(--about-body-leading);
  letter-spacing: normal;
  color: var(--muted);
}
.history-kicker {
  margin: 2px 0 30px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.timeline {
  --timeline-axis: 73px;
  position: relative;
  list-style: none;
  padding: 0 0 17px;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: var(--timeline-axis);
  top: 10px;
  bottom: 2px;
  width: 1px;
  background: #bacab0;
}
.timeline::after {
  content: "";
  position: absolute;
  left: calc(var(--timeline-axis) - 3px);
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #759665;
  border-bottom: 1px solid #759665;
  transform: rotate(45deg);
}
.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 40px;
  border: 0;
  padding: 0 0 50px;
}
.timeline > li:last-child { padding-bottom: 14px; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: calc(var(--timeline-axis) - 4px);
  top: 6px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px var(--paper);
}
.timeline > li:last-child::before { background: var(--green); }
.timeline-year {
  display: block;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  color: var(--green);
}
.timeline-content { min-width: 0; }
.timeline-content h3 { margin: 0; }
.timeline-content p { margin-top: 9px; }

/* A centered pair of controls, keeping gallery keyboard and swipe support. */
.carousel-controls-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin-top: 20px;
}
.carousel-controls-centered::before,
.carousel-controls-centered::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: var(--line);
}
.carousel-controls-centered .carousel-arrows {
  margin: 0;
  gap: 9px;
}

/* Company details: clear hierarchy, fixed requested sizes on every screen. */
.contact-section { --contact-title-color: #f5f3e8; }
.company-card .company-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 22px;
  color: var(--contact-title-color);
  letter-spacing: normal;
}
.company-card .company-card-heading h3 {
  min-width: 0;
  margin: 0;
  color: var(--contact-title-color);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.02em;
  text-transform: none;
}
.company-card address {
  margin-top: 23px;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.65;
  font-style: normal;
}
.company-card .company-details {
  margin: 36px 0 24px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}
.company-card .company-details > div { padding-block: 6px; gap: 16px; }

/* The remote library owns the icon and its changes. Reserve the existing
   footer slot without supplying an icon, MDI font or local animation. */



@media (max-width: 960px) {
  .section-intro { font-size: 14px; }
  .timeline { --timeline-axis: 60px; }
  .timeline > li { grid-template-columns: 46px minmax(0, 1fr); gap: 33px; }
}
@media (max-width: 650px) {
  .section-heading.section-heading-stacked { margin-bottom: 24px; }
  .section-intro { margin-top: 15px; line-height: 1.7; }
  .supply-note { margin-top: 20px; padding-left: 16px; }
  .supply-note h3 { font-size: 18px; }
  .supply-note p { font-size: 14px; line-height: 1.7; }
  .about-section {
    --about-heading-size: 17px;
    --about-body-size: 13px;
    --about-body-leading: 1.7;
  }
  .history-kicker { display: none; }
  .history-details[open] > .timeline { margin-top: 14px; }
  .timeline-year { font-size: 16px; }
  .timeline > li { padding-bottom: 38px; }
  .timeline > li:last-child { padding-bottom: 12px; }
  .carousel-controls-centered { gap: 17px; margin-top: 18px; }
  .company-card .company-card-heading { gap: 11px; }
  .company-card .company-card-heading > .icon { width: 27px; height: 27px; }
}
@media print {
  .history-kicker { display: block; }
  .timeline > li { break-inside: avoid; }
  .company-card .company-card-heading,
  .company-card .company-card-heading h3 { color: #222; }
}


/* Enquiry in the header replaces the plain Contact tab. PL/EN stays last. */
.site-header .header-contact { display: none; }
@media (min-width: 961px) {
  .site-header .header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    gap: 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
  }
  .site-header .header-contact.is-active { box-shadow: 0 0 0 3px #d8e6cd; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .site-header .brand img { width: 176px; }
  .header-inner { gap: 18px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .header-actions { gap: 12px; }
  .site-header .header-contact { padding-inline: 14px; gap: 10px; }
}
.menu-inquiry.is-active { box-shadow: 0 0 0 3px #d8e6cd; }
@media print { .timeline > li { padding-bottom: 24px; } }


/* Studio signature: shared markup and direct remote icon library (v16).
   The link/text remain usable without JavaScript. Only the remote library owns
   the icon artwork, updates and timing. No local MDI font or fallback generator. */
.author-credit {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  color: #4b5545;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}
.author-credit:hover,
.author-credit:focus-visible { color: var(--green); }
.studio-credit-copy {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: end;
  gap: 2px 6px;
  min-width: 0;
  font-weight: 400;
  white-space: nowrap;
}
.studio-credit-prefix {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
  color: #707966;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}
.studio-credit-name,
.studio-credit-signoff { font-weight: 400; white-space: nowrap; }
.studio-credit-name { grid-column: 1; grid-row: 2; }
.studio-credit-signoff {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.studio-credit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 1.1em;
  block-size: 1.1em;
  flex: 0 0 1.1em;
  color: var(--green);
  font-size: 15px;
  font-style: normal;
  line-height: 1;
}
.studio-credit-icon > svg,
.studio-credit-icon > img { max-width: 100%; max-height: 100%; }


/* v17: fixed mobile navigation, contained page width and a stacked credit.
   Clipping the viewport does not disable local gallery/product scrolling.
   Do not put pan-y on body/main: it would prevent those horizontal gestures. */
html {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body { max-width: 100%; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

.supply-divider {
  height: 0;
  margin: 32px 0 26px;
  border: 0;
  border-top: 1px solid var(--line);
}
.supply-divider + .supply-note { margin-top: 0; }

@media (min-width: 961px) {
  .domestic-offer > summary { cursor: default; }
  .domestic-offer > summary > .icon { display: none; }
}

@media (max-width: 960px) {
  :root { --site-header-height: 71px; }
  .nav-enhanced body { padding-top: var(--site-header-height); }
  .nav-enhanced .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 30;
  }
  .mobile-menu-heading {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--paper);
  }
}

@media (max-width: 650px) {
  :root { --site-header-height: 69px; }
  .supply-divider { margin: 24px 0 20px; }

  /* Company name and group link each have the full available line.
     The studio credit follows on its own row, aligned to the right. */
  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }
  .footer-bottom > .legal-copy {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    width: 100%;
  }
  .footer-bottom > .legal-copy > span,
  .footer-bottom .footer-group-link {
    white-space: nowrap;
  }
  .footer-bottom .footer-group-link { flex: 0 0 auto; }
  .footer-bottom > .author-credit {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    max-width: 100%;
    margin: 0;
    text-align: right;
  }
}

@media print {
  html, body { overflow: visible; }
  body, .nav-enhanced body { padding-top: 0; }
}
