/*
Theme Name: Ginperain V2
Description: Ginperain Packaging independent staging theme.
Version: 0.1.0
Requires PHP: 8.0
Text Domain: ginperain-v2
*/
:root{--green:#19483c;--gold:#d7bd77;--ivory:#f6f4ed;--ink:#262b28;--white:#fff;--line:#d9dfd7}*{box-sizing:border-box}body{margin:0;font:16px/1.6 Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #b88728;outline-offset:4px}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0 0 16px}h1,h2,h3{line-height:1.15}h1{font-size:clamp(38px,5vw,72px)}h2{font-size:clamp(28px,3.2vw,44px);color:var(--green)}h3{font-size:21px;color:var(--green)}.wrap{width:min(1320px,calc(100% - 80px));margin:auto}.site-header{background:var(--ivory);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}.wordmark{font-weight:700;letter-spacing:1.5px;font-size:25px;line-height:1;color:var(--green)}.wordmark small{display:block;font-size:10px;letter-spacing:5px;margin-top:7px}.custom-logo{max-height:56px;width:auto}.nav{display:flex;align-items:center;gap:22px;font-size:14px}.nav a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--gold);color:var(--ink);padding:13px 22px;font-weight:700;border:0;border-radius:3px;text-align:center}.btn-light{background:var(--ivory);color:var(--green)}.nav-toggle{display:none}.hero{background:var(--green);color:#fff;position:relative;min-height:520px;display:flex;align-items:center;overflow:hidden}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,48,38,.9),rgba(14,48,38,.3) 46%,transparent 70%)}.hero-content{position:relative;z-index:1;padding:90px 0;max-width:580px}.hero-content p{font-size:20px;max-width:450px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#55725e;text-transform:uppercase}.hero .eyebrow{color:var(--gold)}.advantages{background:var(--ivory);padding:28px 0}.grid{display:grid;gap:24px}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.advantage{color:var(--green);font-weight:700;border-left:1px solid #c7cec3;padding-left:20px}.section{padding:76px 0}.tint{background:var(--ivory)}.section-head{margin-bottom:30px;max-width:820px}.product-card{background:var(--ivory);overflow:hidden;border-radius:4px}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.product-card div{padding:20px}.product-card h3{font-size:19px;margin-bottom:8px}.product-card:hover h3{text-decoration:underline}.split{align-items:center}.paper-samples{position:relative;min-height:300px;overflow:hidden;background:#e5ded0;border-radius:4px;display:grid;place-items:center}.paper-samples span{position:absolute;width:75%;height:55%;border-radius:2px;box-shadow:0 12px 22px #0003;transform:rotate(-12deg);display:flex;align-items:end;justify-content:end;padding:12px;font-size:12px;font-weight:700}.paper-samples span:nth-child(1){background:#aaa69b;top:8%;left:6%}.paper-samples span:nth-child(2){background:#b78d5d;top:20%;left:13%}.paper-samples span:nth-child(3){background:#f9f9f4;top:32%;left:20%}.cap-card,.industry-card{border:1px solid var(--line);padding:26px;background:#fff;border-radius:4px}.cap-card .number{color:#6c826e;font-size:13px;letter-spacing:2px}.muted{font-size:13px;color:#637068}.cta{background:var(--green);color:#fff}.cta h2{color:#fff}.cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px}.site-footer{background:#142f29;color:#dbe5dc;padding:48px 0 24px}.site-footer .wordmark{color:#fff}.site-footer h3{color:#fff;font-size:16px}.footerlinks{display:grid;gap:8px;font-size:14px}.footer-bottom{border-top:1px solid #4c6259;margin-top:28px;padding-top:18px;font-size:13px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:10px;background:#fff;padding:12px;z-index:100}.notice{background:#f6f4ed;padding:10px;font-size:12px;text-align:center}.page-body{min-height:50vh}.page-body article{max-width:850px;margin:auto}
@media(max-width:1150px){.nav{gap:10px;font-size:12px}.header-inner{gap:12px}.wrap{width:calc(100% - 48px)}}@media(max-width:900px){.nav-toggle{display:block;border:1px solid var(--green);background:transparent;padding:10px;border-radius:3px;color:var(--green)}.header-inner{flex-wrap:wrap;padding:16px 0}.nav{display:none;width:100%;flex-direction:column;align-items:stretch;font-size:16px}.nav.open{display:flex}.four{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:500px}.hero-image{object-position:60% center}.hero:after{background:linear-gradient(90deg,#143f34f5,#143f3480 70%,#143f3420)}.hero-content{max-width:490px}.section{padding:52px 0}}@media(max-width:560px){.wrap{width:calc(100% - 32px)}.three,.two{grid-template-columns:1fr}.four{gap:14px}.product-card div{padding:12px}.product-card h3{font-size:16px}.hero{min-height:570px;align-items:start;background:#143f34}.hero-image{top:auto;height:56%;object-position:right center}.hero:after{background:linear-gradient(180deg,#143f34 0%,#143f34 44%,transparent 72%)}.hero-content{padding:42px 0}.hero-content p{font-size:17px}.advantages .grid{gap:18px}.advantage{font-size:13px;padding-left:10px}.cta .wrap{display:block}.section{padding:42px 0}.footerlinks{gap:9px}}

/* Homepage responsive refinement */
@media(min-width:901px){.hero h1{font-size:clamp(42px,4vw,60px);letter-spacing:-1px}.hero-content{max-width:560px}}
@media(max-width:560px){.hero>.wrap{margin:0 auto}.hero-content{padding:36px 0 0}.hero{min-height:530px}.hero-image{height:53%}.hero:after{background:linear-gradient(180deg,#143f34 0%,#143f34 43%,transparent 72%)}.hero .actions{gap:8px;margin-top:20px}.hero .btn{padding:11px 14px;font-size:14px}}
/* approved homepage photo layout */
.feature-image{margin:0;overflow:hidden;border-radius:4px}.feature-image img{width:100%;aspect-ratio:2.2/1;object-fit:cover}.feature-image figcaption{font-size:12px;color:#637068;margin-top:8px}.photo-card{padding:0;overflow:hidden;background:var(--ivory);border:0}.photo-card img{width:100%;aspect-ratio:2.25/1;object-fit:cover}.photo-card-copy{padding:18px 20px}.photo-card-copy h3{margin:0 0 8px;font-size:20px}.photo-card-copy p{margin:0;font-size:15px}.industry-card.photo-card{background:#fff}.industry-card .photo-card-copy{padding:13px 18px}.industry-card .photo-card-copy h3{font-size:18px;margin:0}.about-split{grid-template-columns:4fr 6fr;gap:36px}.text-link{color:var(--green);font-weight:700}@media(max-width:560px){.about-split{grid-template-columns:1fr;gap:20px}.photo-card-copy{padding:16px}.industry-card .photo-card-copy h3{font-size:17px}}
/* Product catalogue and category templates */
.crumb{font-size:13px;color:#5d6b61;margin-bottom:28px}.crumb a{text-decoration:underline}.product-intro h1{color:var(--green);font-size:clamp(36px,4.4vw,62px);letter-spacing:-.8px}.product-intro p{font-size:18px;max-width:660px}.product-intro .btn{margin-top:8px}.product-hero-img{margin:0;overflow:hidden;border-radius:4px}.product-hero-img img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#eee6d8}.product-hero-img figcaption{font-size:12px;color:#637068;margin-top:8px}.catalog-card h2{font-size:clamp(24px,2.3vw,34px)}.catalog-card img{aspect-ratio:16/10;object-fit:cover}.catalog-card div{padding:25px}.subtype-card img{aspect-ratio:4/3;object-fit:contain;background:#eee5d7}.subtype-card h3{font-size:21px}.material-list{list-style:none;padding:0;margin:12px 0 24px}.material-list li{padding:12px 0;border-bottom:1px solid var(--line);font-weight:600;color:var(--green)}.spec-list{margin:0;background:#fff;border:1px solid var(--line);border-radius:4px}.spec-list>div{display:grid;grid-template-columns:minmax(150px,1fr) 3fr;gap:24px;padding:16px 22px;border-bottom:1px solid var(--line)}.spec-list>div:last-child{border:0}.spec-list dt{font-weight:700;color:var(--green)}.spec-list dd{margin:0}.catalog-grid{gap:36px}@media(max-width:560px){.product-intro h1{font-size:36px}.product-intro p{font-size:16px}.spec-list>div{grid-template-columns:1fr;gap:4px;padding:13px 16px}.catalog-grid{gap:22px}.catalog-card div{padding:19px}.crumb{margin-bottom:18px}.product-hero-img img{aspect-ratio:4/3}}

.subtype-card img{aspect-ratio:auto;height:auto;object-fit:contain}
/* Materials and capability pages */
.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}.expertise-group{margin-bottom:42px}.expertise-group+.expertise-group{border-top:1px solid var(--line);padding-top:35px}.group-heading{font-size:clamp(23px,2.25vw,31px);margin-bottom:9px}.expertise-card{background:var(--ivory);min-width:0}.expertise-card .photo-card-copy{padding:20px}.expertise-card .photo-card-copy h3{font-size:19px}.material-grid .expertise-card img{aspect-ratio:4/3;object-fit:cover}.process-grid .expertise-card{background:white}.process-grid .expertise-card img{aspect-ratio:3/2;object-fit:cover}.expertise-table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:4px;background:white}.expertise-table{width:100%;border-collapse:collapse;min-width:600px;font-size:15px}.expertise-table th,.expertise-table td{padding:13px 18px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.expertise-table thead{background:var(--green);color:white}.expertise-table tbody th{color:var(--green);font-weight:700;min-width:125px}.expertise-table tbody tr:nth-child(even){background:#f7f8f4}.expertise-table tbody tr:last-child>*{border-bottom:0}.process-flow{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;padding:0;margin:0;list-style:none}.process-flow li{display:flex;flex-direction:column;gap:12px;min-height:128px;background:var(--ivory);border-top:3px solid var(--gold);padding:18px 14px;color:var(--green)}.process-flow span{font-size:13px;letter-spacing:1px}.process-flow strong{font-size:16px;line-height:1.4}.capacity-number{font-size:clamp(32px,4vw,54px);line-height:1.1;font-weight:700;color:var(--green)}.compact-list{margin:16px 0}.compact-list li{padding:8px 0}@media(max-width:1000px){.process-flow{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:560px){.process-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.process-flow li{min-height:105px;padding:13px}.expertise-table th,.expertise-table td{padding:11px 12px}.expertise-group{margin-bottom:28px}.expertise-group+.expertise-group{padding-top:25px}.expertise-card .photo-card-copy{padding:15px}}
/* Industry, company and resources pages */
.industry-detail-grid{gap:30px}.industry-detail-card img,.industry-detail-grid .expertise-card img{aspect-ratio:2.25/1;object-fit:cover}.industry-detail-card .photo-card-copy{padding:24px}.industry-detail-card h3{font-size:23px}.industry-product-links{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:18px}.industry-product-links a{font-size:14px;font-weight:700;color:var(--green);border-bottom:1px solid #b7c8bc}.business-flow{grid-template-columns:repeat(5,minmax(0,1fr))}.vision-block{max-width:850px;text-align:center}.vision-block p{font-size:20px}.align-link{align-self:center}.resources-topics .photo-card{background:var(--ivory)}.resources-topics img{aspect-ratio:4/3;object-fit:cover}.resources-topics .photo-card-copy h3{font-size:19px}.resources-topics .photo-card-copy p{margin-bottom:16px}.resource-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.resource-filters a{padding:9px 16px;border:1px solid var(--line);background:white;color:var(--green);border-radius:3px;font-weight:600;font-size:14px}.resource-filters a.active{background:var(--green);color:white;border-color:var(--green)}.resource-empty{padding:32px;background:white;border:1px solid var(--line);border-radius:4px}.resource-empty .actions{margin-top:18px}.resource-empty p{max-width:700px}.resource-articles .photo-card{background:white}.resource-articles img{aspect-ratio:16/10;object-fit:cover}@media(max-width:900px){.business-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.business-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.industry-detail-grid{gap:20px}.industry-detail-card .photo-card-copy{padding:18px}.resources-topics{grid-template-columns:1fr}.resource-empty{padding:20px}.vision-block p{font-size:18px}}
/* Contact and RFQ */
.contact-grid{align-items:start;gap:48px}.contact-details{margin:22px 0 30px}.contact-details>div{padding:15px 0;border-bottom:1px solid var(--line)}.contact-details dt{font-weight:700;color:var(--green);margin-bottom:6px}.contact-details dd{margin:0;overflow-wrap:anywhere}.contact-details a{color:var(--green);font-weight:700}.inquiry-panel{background:#fff;border:1px solid var(--line);border-radius:5px;padding:30px}.inquiry-panel h2{font-size:clamp(24px,2.4vw,32px)}.rfq-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:start}.rfq-aside{display:grid;gap:20px}.preview-notice{padding:16px 18px;margin-bottom:24px;background:var(--ivory);border-left:3px solid var(--gold);font-size:14px}.preview-form{display:grid;gap:16px}.preview-form fieldset{margin:0;padding:0 0 22px;border:0;min-width:0;border-bottom:1px solid var(--line);display:grid;gap:16px}.preview-form legend{font-size:22px;font-weight:700;color:var(--green);padding:0 0 18px}.field{display:grid;gap:7px;min-width:0}.field label,.field-label{font-size:14px;font-weight:700;color:var(--green)}.field input:not([type=checkbox]),.field select,.field textarea{min-width:0;width:100%;border:1px solid #bcc8bd;border-radius:3px;background:white;padding:11px 12px;font:inherit;color:var(--ink)}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--green);outline-offset:1px}.check-row{display:flex;gap:9px;align-items:flex-start;font-size:14px;line-height:1.5}.check-row input{accent-color:var(--green);margin:3px 0 0;flex-shrink:0}.check-row a{text-decoration:underline;color:var(--green)}.check-grid{gap:10px}.form-dims,.contact-fields{gap:14px}.preview-form .btn{justify-self:start;cursor:pointer}.preview-result{color:var(--green);font-size:14px;font-weight:700;margin:0}.file-preview{padding:16px;border:1px dashed #aab8ac;background:var(--ivory);border-radius:3px}.file-preview input{max-width:100%}.legal-content{max-width:900px}.legal-content h2{font-size:25px;margin-top:32px}.legal-content h2:first-child{margin-top:0}.legal-content a{color:var(--green);text-decoration:underline}.privacy-footer-link{float:right;text-decoration:underline}@media(max-width:900px){.rfq-grid{grid-template-columns:1fr}.contact-grid{gap:24px}}@media(max-width:560px){.inquiry-panel{padding:19px}.form-dims{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.form-dims label{font-size:12px}.form-dims input{padding:8px}.check-grid{grid-template-columns:1fr}.privacy-footer-link{float:none;display:block;margin-top:8px}}
/* Resource article detail */
.article-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:48px;align-items:start}.article-body{min-width:0;overflow-wrap:anywhere}.article-body h2{font-size:clamp(23px,2.3vw,31px);margin:34px 0 14px}.article-body p,.article-body li{font-size:17px;line-height:1.7}.article-body ul{padding-left:24px;margin:12px 0 25px}.article-body a{color:var(--green);text-decoration:underline}.article-illustration{margin:0 0 26px}.article-illustration img{width:100%;max-height:370px;object-fit:cover;border-radius:4px}.article-illustration figcaption{font-size:13px;color:#57655d;margin-top:8px}.article-sidebar .btn{margin:8px 0 18px}.article-table{overflow:auto;max-width:100%;border:1px solid var(--line);margin:20px 0}.article-table table{border-collapse:collapse;min-width:480px;width:100%}.article-table th,.article-table td{padding:12px;text-align:left;border-bottom:1px solid var(--line)}.article-table th{background:var(--green);color:white}@media(max-width:900px){.article-layout{grid-template-columns:1fr;gap:28px}.article-body p,.article-body li{font-size:16px}}

/* Original Ginperain brand mark. */
.brand-logo{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:260px;max-width:100%;height:66px}.brand-logo-art{display:block;position:relative;width:100%;height:100%;overflow:hidden}.brand-logo-art img{position:absolute;width:119%;max-width:none;height:auto;left:50%;top:50%;transform:translate(-50%,-50%)}.brand-logo-light{display:none}.site-footer .brand-logo{width:235px;height:62px;max-width:100%}.site-footer .brand-logo-light{display:block;filter:brightness(0) invert(1);clip-path:inset(0 0 0 27.2%)}@media(max-width:1150px){.brand-logo{width:220px;height:56px}}@media(max-width:900px){.header-inner{padding:8px 0}.brand-logo{width:210px;height:54px}}
