/* Daenem Farms V4 — responsive public-site refinements */

/* Global polish */
.image-failed{opacity:0}.page-hero .container{max-width:1180px}.page-hero p{max-width:820px}.form-status a{text-decoration:underline;font-weight:800}

/* Unique homepage — executive overview rather than copies of inner pages */
.home-intro-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:88px;align-items:start}.home-intro-copy p{font-size:18px;color:var(--muted);margin-bottom:18px}.home-principles{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.home-principle{border:1px solid var(--line);border-radius:24px;padding:26px;background:#fff;min-height:190px;transition:.3s}.home-principle:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft)}.home-principle span{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-weight:800}.home-principle h3{font-size:23px;color:var(--green);margin:12px 0 8px}.home-principle p{font-size:13px;color:var(--muted)}
.home-journey{background:var(--green);color:#fff;overflow:hidden}.journey-head{display:grid;grid-template-columns:1fr .8fr;gap:80px;align-items:end;margin-bottom:48px}.journey-head h2{font-size:clamp(42px,5vw,66px);line-height:1.03}.journey-head p{color:#cbd9cf}.journey-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.14);border-radius:28px;overflow:hidden}.journey-step{padding:34px 28px;min-height:245px;border-right:1px solid rgba(255,255,255,.14);position:relative}.journey-step:last-child{border:0}.journey-step .num{font-family:'Playfair Display',serif;color:var(--gold-light);font-size:34px}.journey-step h3{font-size:22px;margin:44px 0 10px}.journey-step p{font-size:13px;color:#c9d8ce}.journey-step:after{content:'→';position:absolute;right:-12px;top:46%;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--green);z-index:2;font-weight:900}.journey-step:last-child:after{display:none}
.home-market{background:linear-gradient(135deg,#f8f5eb,#edf3e8)}.market-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.market-panel{border-radius:30px;padding:38px;min-height:320px;position:relative;overflow:hidden}.market-panel:first-child{background:#fff;border:1px solid var(--line)}.market-panel:last-child{background:linear-gradient(145deg,#163f2e,#2d6549);color:#fff}.market-panel h3{font-size:32px;max-width:420px;margin:15px 0}.market-panel p{max-width:520px;color:var(--muted)}.market-panel:last-child p{color:#cfddd3}.market-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}.market-tags span{padding:8px 12px;border-radius:999px;background:#edf2e9;color:var(--green);font-size:11px;font-weight:800}.market-panel:last-child .market-tags span{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.14)}

/* Customers: preserve assigned photos across browsers and screen sizes */
.customer-showcase-photo{background:linear-gradient(135deg,#e5ecdf,#f6efdf)}.customer-showcase-photo img{display:block;width:100%;height:100%;object-fit:cover}.customer-showcase-card{min-width:0}.customers-page-section .customer-showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Animated gallery */
.gallery-showcase{background:#0f3022;color:#fff;overflow:hidden}.gallery-showcase-head{display:grid;grid-template-columns:1fr .82fr;gap:70px;align-items:end;margin-bottom:40px}.gallery-showcase-head h2{font-size:clamp(42px,5vw,68px);line-height:1.02}.gallery-showcase-head p{color:#c8d8ce}.gallery-stage{position:relative;height:620px;border-radius:34px;overflow:hidden;background:linear-gradient(145deg,#173e2d,#526f48);box-shadow:0 30px 80px rgba(0,0,0,.2)}.gallery-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,25,16,.04),rgba(4,25,16,.72));pointer-events:none}.gallery-stage-item{position:absolute;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#315f46,#b18c48);box-shadow:0 16px 38px rgba(0,0,0,.16);transition:transform .55s ease,opacity .55s ease;isolation:isolate}.gallery-stage-item img{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s,transform 1.2s}.gallery-stage-item.has-photo img{opacity:1}.gallery-stage-item:hover img{transform:scale(1.055)}.gallery-stage-item:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 78% 20%,rgba(231,192,104,.28),transparent 30%);z-index:-1}.gallery-stage-item .gallery-label{position:absolute;left:18px;bottom:16px;z-index:3;background:rgba(7,31,21,.68);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800}.gallery-stage-item:nth-child(1){left:4%;top:7%;width:42%;height:48%;animation:galleryFloatA 8s ease-in-out infinite}.gallery-stage-item:nth-child(2){left:49%;top:5%;width:22%;height:34%;animation:galleryFloatB 9s ease-in-out infinite}.gallery-stage-item:nth-child(3){right:4%;top:9%;width:22%;height:43%;animation:galleryFloatA 10s ease-in-out infinite reverse}.gallery-stage-item:nth-child(4){left:7%;bottom:5%;width:27%;height:34%;animation:galleryFloatB 8.6s ease-in-out infinite reverse}.gallery-stage-item:nth-child(5){left:37%;bottom:6%;width:30%;height:42%;animation:galleryFloatA 9.4s ease-in-out infinite}.gallery-stage-item:nth-child(6){right:5%;bottom:6%;width:25%;height:37%;animation:galleryFloatB 10.5s ease-in-out infinite}.gallery-stage-item:nth-child(n+7){display:none}@keyframes galleryFloatA{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-9px,0)}}@keyframes galleryFloatB{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(7px,7px,0)}}
.gallery-filmstrip{overflow:hidden;margin-top:34px;padding:6px 0}.gallery-track{display:flex;width:max-content;gap:14px;animation:galleryMarquee 34s linear infinite}.gallery-track:hover{animation-play-state:paused}.gallery-thumb{width:230px;height:150px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#d7e3d2,#ead9ae);position:relative;flex:0 0 auto}.gallery-thumb img{width:100%;height:100%;object-fit:cover;opacity:0}.gallery-thumb.has-photo img{opacity:1}.gallery-thumb span{position:absolute;left:12px;bottom:10px;background:rgba(8,35,23,.72);color:#fff;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800}@keyframes galleryMarquee{to{transform:translateX(-50%)}}
.gallery-admin-note{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:30px;padding:24px 28px;border:1px solid rgba(255,255,255,.14);border-radius:20px;color:#d8e3dc}.gallery-admin-note strong{color:#fff}.gallery-admin-note p{font-size:13px}

/* Careers / Partnerships band above footer */
.footer-opportunities{background:#eae4d6;padding:58px 0}.opportunity-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.opportunity-card{border-radius:28px;padding:34px 36px;min-height:285px;position:relative;overflow:hidden}.careers-card{background:#fff;border:1px solid var(--line)}.partnership-card{background:linear-gradient(145deg,#163f2e,#285d43);color:#fff}.opportunity-card:after{content:'';position:absolute;width:170px;height:170px;border-radius:50%;right:-65px;top:-65px;background:rgba(189,143,55,.14)}.opportunity-kicker{font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--gold)}.opportunity-card h2{font-size:35px;line-height:1.05;margin:18px 0 14px}.opportunity-card p{font-size:14px;color:var(--muted);max-width:570px}.partnership-card p{color:#cfddd3}.opportunity-link{display:inline-flex;gap:10px;margin-top:24px;font-weight:800;color:var(--green);border-bottom:1px solid currentColor;padding-bottom:4px}.partnership-card .opportunity-link{color:#f0cc7b}.opportunity-actions{display:flex;flex-wrap:wrap;gap:15px 20px;align-items:center}.mini-contact{font-size:12px;color:#d5e1d8;margin-top:24px}

/* Career / partnership pages */
.inquiry-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}.inquiry-aside{position:sticky;top:112px}.inquiry-aside h2{font-size:42px;line-height:1.05;color:var(--green);margin:16px 0}.inquiry-aside p{color:var(--muted);margin-bottom:20px}.inquiry-contact-list{display:grid;gap:10px;margin-top:25px}.inquiry-contact-list a{border:1px solid var(--line);border-radius:14px;padding:13px 15px;background:#fff;font-size:13px;font-weight:700}.inquiry-form{padding:34px;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow-soft)}.inquiry-form h2{font-size:34px;color:var(--green);margin-bottom:8px}.inquiry-form>.muted{margin-bottom:24px}.file-note{font-size:11px;color:var(--muted)}

/* Configurable social media links */
.footer-social-wrap{margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12)}.footer-social-label{display:block;margin-bottom:11px;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#b8c9be}.footer-social{display:flex;flex-wrap:wrap;gap:8px}.social-link{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);transition:transform .2s ease,background .2s ease,border-color .2s ease}.social-link:hover{transform:translateY(-2px);background:rgba(199,151,57,.22);border-color:rgba(232,199,126,.45);color:#f7d98f}.social-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.social-link svg path:first-child:only{fill:currentColor;stroke:none}.social-link svg .fill-dot{fill:currentColor;stroke:none}.social-link svg .play{fill:currentColor;stroke:none}.social-link[aria-label*="Facebook"] svg path{fill:currentColor;stroke:none}.social-link[aria-label*="LinkedIn"] svg rect,.social-link[aria-label*="LinkedIn"] svg path{fill:currentColor;stroke:none}.social-link[aria-label*="YouTube"] svg path:first-child{fill:currentColor;stroke:none}

/* Responsive quality */
@media(max-width:1100px){.home-intro-grid{gap:50px}.journey-grid{grid-template-columns:repeat(2,1fr)}.journey-step:nth-child(2){border-right:0}.journey-step:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.14)}.journey-step:nth-child(2):after{display:none}.customers-page-section .customer-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-stage{height:540px}.footer-grid{grid-template-columns:1.2fr .8fr .8fr 1.1fr}}
@media(max-width:900px){.home-intro-grid,.journey-head,.market-grid,.gallery-showcase-head,.inquiry-layout{grid-template-columns:1fr}.home-principles{grid-template-columns:repeat(2,1fr)}.opportunity-grid{grid-template-columns:1fr}.inquiry-aside{position:static}.customers-page-section .customer-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-stage{height:620px}.gallery-stage-item:nth-child(1){left:3%;top:5%;width:58%;height:38%}.gallery-stage-item:nth-child(2){right:3%;left:auto;top:5%;width:34%;height:29%}.gallery-stage-item:nth-child(3){right:3%;top:37%;width:34%;height:29%}.gallery-stage-item:nth-child(4){left:3%;bottom:5%;width:35%;height:31%}.gallery-stage-item:nth-child(5){left:41%;bottom:5%;width:31%;height:31%}.gallery-stage-item:nth-child(6){right:3%;bottom:5%;width:23%;height:31%}}
@media(max-width:760px){.section{padding:72px 0}.page-hero{padding:64px 0 48px}.home-principles{grid-template-columns:1fr}.journey-grid{grid-template-columns:1fr}.journey-step{border-right:0;border-bottom:1px solid rgba(255,255,255,.14);min-height:195px}.journey-step:last-child{border-bottom:0}.journey-step:after{display:none}.customers-page-section .customer-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-showcase-copy h3{font-size:15px}.customer-showcase-copy span{font-size:9px}.gallery-stage{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;background:#0f3022}.gallery-stage-item,.gallery-stage-item:nth-child(n){position:relative!important;display:block;inset:auto!important;width:auto!important;height:190px!important;animation:none!important}.gallery-stage-item:first-child{grid-column:span 2;height:250px!important}.gallery-admin-note{display:block}.gallery-admin-note .btn{margin-top:15px}.inquiry-form{padding:24px}.opportunity-card{padding:28px}.opportunity-card h2{font-size:30px}}
@media(max-width:520px){.container{width:min(100% - 24px,1180px)}.customers-page-section .customer-showcase-grid{grid-template-columns:1fr}.gallery-stage{grid-template-columns:1fr}.gallery-stage-item,.gallery-stage-item:first-child{grid-column:auto;height:220px!important}.gallery-thumb{width:190px;height:125px}.field-row{grid-template-columns:1fr!important}.opportunity-card{min-height:0}.inquiry-aside h2{font-size:34px}.journey-head{gap:25px}.footer-social{gap:7px}.social-link{width:35px;height:35px}}
@media(prefers-reduced-motion:reduce){.gallery-stage-item,.gallery-track{animation:none!important}.gallery-track{flex-wrap:wrap;width:auto}.gallery-thumb{width:calc(50% - 7px)}}