/*
Theme Name: Kirthar Rice Mill
Description: Sindh Organic Farms and Kirthar Rice Mill website.
Version: 4.0.0
Text Domain: kirthar-rice-mill
*/
:root{--ink:#163b2e;--gold:#ebc767;--paper:#faf9f3}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 'Inter',Arial,sans-serif}a{color:inherit}header{min-height:86px;padding:10px 6%;display:flex;align-items:center;gap:3vw;background:#fff}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-right:auto}.brand img{width:55px;height:53px;object-fit:contain}.brand b{font:700 1.25rem/1.05 Georgia;letter-spacing:.07em}.brand small{display:block;font:700 .74rem/1.6 Arial;letter-spacing:.23em}nav{display:flex;gap:2.5vw}nav a{text-decoration:none;font-weight:600}nav a:hover,.inline:hover{text-decoration:underline}.contact,.button,.outline{display:inline-block;padding:.72rem 1.45rem;text-decoration:none;font-weight:700;border-radius:3px}.contact{background:var(--ink);color:white}.hero{position:relative;display:flex;align-items:flex-end;min-height:clamp(425px,43vw,610px);background:linear-gradient(90deg,rgba(8,29,26,.85),rgba(8,29,26,.45) 52%,rgba(8,29,26,.12)),url(assets/hero.webp) center 55%/cover;color:white}.heroInner{padding:6%}.tag,small{font-size:.82rem;letter-spacing:.15em;font-weight:750}.tag{margin:0 0 15px;color:#426a4a}.hero .tag{color:#fff2c5}.hero h1,h1,h2,h3,.tile strong{font-family:Georgia,'Times New Roman',serif}.hero h1{font-size:clamp(3.4rem,7.5vw,8rem);line-height:1;margin:0;letter-spacing:-.055em;font-weight:500}.sub{color:#fee093;font-weight:800;letter-spacing:.09em;font-size:clamp(1.35rem,2.8vw,3rem);margin:.4rem 0 1.7rem}.actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.button{background:var(--gold);color:#1d3426}.outline{border:1px solid #ffffffaa;color:white;background:#122d2644}.cert{display:flex;justify-content:center;align-items:center;gap:20px;padding:23px 6%;background:#174b37;color:#fff2bd;font-weight:bold;text-align:center;font-size:clamp(1rem,1.43vw,1.45rem)}.cert span{color:#dfba64}.wrap{padding:clamp(45px,5.5vw,90px) 6%}.split,.duo{display:grid;grid-template-columns:1fr 1fr;gap:4vw;align-items:center}h2,h1{font-weight:500;font-size:clamp(2.3rem,4vw,4.5rem);letter-spacing:-.045em;line-height:1.07;margin:.4em 0}h3{font-size:1.5rem;line-height:1.2;margin:.65em 0 .2em}em{font-weight:400;color:#637b46}.wrap p:not(.tag){max-width:700px}.inline{display:inline-block;font-weight:650;text-underline-offset:5px;margin:10px 0}figure{margin:0}figure img{display:block;width:100%;height:clamp(200px,22vw,360px);object-fit:cover}figcaption{font-size:.85rem;margin-top:.5rem}.directory,.tinted{background:#ecefe3}.tile{display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none;color:white;min-height:220px;padding:32px}.tile strong{font-size:clamp(1.9rem,3vw,3rem);font-weight:500}.organic{background:linear-gradient(80deg,#214936ec,#21493681),url(assets/a6.webp) center/cover}.conventional{background:linear-gradient(80deg,#694a21ed,#694a2199),url(assets/a47.webp) center/cover}.duo article{align-self:start}.grid,.team,.items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.items div{padding:20px;background:#e5eddb;font-weight:600}.pic{display:block;background:white;text-decoration:none}.pic:hover span{text-decoration:underline}.pic img{display:block;width:100%;height:200px;object-fit:cover}.docs img,.tinted img{object-fit:contain;background:white}.pic span{display:block;padding:12px 16px;font-weight:600}.team{grid-template-columns:repeat(4,1fr)}.team img{width:100%;height:185px;object-fit:contain;background:#edf0e7}.team p{margin:0}#organic,#conventional{padding-top:35px}footer{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#143a2c;color:white;padding:4% 6%}footer .tag{color:var(--gold)}footer a{text-underline-offset:4px}a:focus-visible{outline:3px solid #b78619;outline-offset:4px}@media(max-width:720px){header{flex-wrap:wrap;gap:8px;padding:9px 5%}nav{order:3;width:100%;justify-content:space-between;padding:7px 0;font-size:.94rem}.brand img{width:44px;height:42px}.contact{padding:.55rem 1rem}.hero{min-height:420px;background-position:62% center}.heroInner{padding:45px 5%}.cert{padding:17px 5%;gap:10px}.split,.duo{grid-template-columns:1fr;gap:18px}.grid,.team,.items{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pic img{height:145px}.tile{min-height:175px}footer{display:block;padding:38px 6%}}
.policy{background:#e6ecdc}.policy h2,.trade h2,.quality h2{margin-bottom:.7em}.policy .split{align-items:center}.pair,.siteviews,.events,.qgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pair img{height:clamp(180px,22vw,300px);object-fit:contain;background:#dce4d5}.pair figure:last-child{margin-top:35px}.addressgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin:2rem 0}.addressgrid article{border-top:2px solid #ad9054}.siteviews figure{min-width:0}.siteviews img,.player{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.siteviews figure:first-child img{object-fit:contain;background:#e5e2d7}.player>*{width:100%;height:100%;border:0}.movie{display:block;position:relative;padding:0;cursor:pointer}.movie img{width:100%;height:100%;object-fit:cover}.movie b{position:absolute;left:6%;bottom:9%;background:#123a2d;color:white;padding:.55rem 1.1rem;font-size:1rem}.capacity{background:#173d30;color:#fff}.capacity .tag{color:#e4c57b}.capacity article{padding-top:1.2rem;border-top:1px solid #ffffff55}.capacity strong{font:500 clamp(3rem,6vw,6.3rem)/1 Georgia;color:#f0d68c}.capacity h3{color:#fff}.packgallery,.contacts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}.packgallery figure{background:white;padding:10px}.packgallery img{height:165px;object-fit:contain}.team img{height:230px}.trade{background:#e8e9df}.events{grid-template-columns:repeat(4,1fr)}.events img{height:clamp(180px,20vw,300px);background:#d9ded1;object-fit:contain}.events figcaption{font:500 1.14rem/1.35 Georgia}.qgrid{grid-template-columns:1.25fr .75fr;align-items:center}.qgrid ul{padding:0;margin:0;list-style:none}.qgrid li{padding:.65rem 0 .65rem 1.6rem;border-bottom:1px solid #cdd5c5;position:relative}.qgrid li:before{content:'✓';position:absolute;left:0;color:#47753f}.qgrid img{height:350px;object-fit:contain;background:#e8eae1}.system{background:#e7eddd;padding:24px 30px;margin-top:30px;border-left:4px solid #627f4f}.system p{max-width:85ch!important}.footlinks{display:grid;gap:.4rem}.footlinks small{letter-spacing:0;font-weight:400;margin-top:10px}.contacts article{border-top:2px solid #bc9f64}.contacts{grid-template-columns:repeat(4,1fr)}.location{background:#f6f4ea}.packs + section{background:#f0eee5}.directory{background:#f8f7ee}.directory .inline{margin-top:20px}
@media(max-width:740px){.addressgrid,.qgrid,.siteviews{grid-template-columns:1fr}.contacts,.events,.packgallery{grid-template-columns:repeat(2,minmax(0,1fr))}.addressgrid{gap:8px}.events img{height:190px}.team img{height:175px}.footlinks{margin-top:1.4rem}.contacts article a{overflow-wrap:anywhere}.packgallery img{height:140px}.pair{gap:10px}.pair figure:last-child{margin-top:15px}}
.directory-print{max-width:900px;margin:32px auto 0;text-align:center}.directory-print img{width:100%;height:auto}

.footer-logo {
  display: inline-flex;
  padding: 6px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 50%;
}
.footer-logo img { display: block; object-fit: contain; border-radius: 50%; }
.home .hero {
  overflow: hidden;
  isolation: isolate;
  background: #21392c;
  min-height: clamp(465px, 46vw, 710px);
}
.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,29,22,.77), rgba(10,29,22,.29) 58%, transparent),
              linear-gradient(to top, rgba(10,30,21,.25), transparent 52%),
              url(assets/homepage/field.webp) center / cover;
}
.home .organic { background-image: linear-gradient(75deg,#142c1ee6,transparent), url(assets/homepage/a6.webp); }
.home .conventional { background-image: linear-gradient(75deg,#352917e6,transparent), url(assets/homepage/grain.webp); }
.home .directory .tile { min-height: clamp(210px,22vw,350px); }
.home figure img { display: block; }
.home .packgallery figure { padding: 0; background: transparent; }
.home .packgallery img, .home .events img, .home .pair img, .home .qgrid img, .home .team img {
  width: 100%;
  height: auto;
  background: transparent;
}
.home .packgallery figcaption { font: 500 1.2rem/1.4 Georgia,serif; }
.home .wrap figure > a { display: block; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .home .hero::before { animation: settle 1.6s ease-out both; }
  .home .heroInner { animation: arrive .85s ease-out both; }
  .home .arrive { animation: arrive .65s ease-out both; }
  @keyframes settle { from { transform: scale(1.035); } to { transform: scale(1); } }
  @keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .wrap figure > a img { transition: transform .5s ease; }
  .home .wrap figure > a:hover img { transform: scale(1.025); }
}
.home .team img { aspect-ratio: 4/5; object-fit: contain; background: #e9e7dc; }
.home .pair, .home .events { align-items: start; }
.home .events img { aspect-ratio: 4/5; object-fit: contain; background: #dde0d2; }
.home .pair img { aspect-ratio: 4/5; object-fit: contain; background: #dce4d5; }
.home .qgrid figure { max-width: 420px; justify-self: center; }
