/* AP Oils & Fats – site styles */
:root{
  --green:#13342A; --green-dark:#0E261F; --ink:#13261F; --muted:#4A5A53;
  --ground:#F5F6F2; --ground-2:#E9ECE5; --line:#DDE3DC; --gold:#E0A63A; --gold-dark:#8A5A0B;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--ground);line-height:1.6}
h1,h2,h3{font-family:'Space Grotesk',sans-serif;line-height:1.1;margin:0}
a{color:var(--green)} a:hover{color:var(--gold-dark)}
img{max-width:100%;display:block}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.eyebrow{margin:0 0 12px;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-dark)}
.btn{display:inline-block;background:var(--gold);color:var(--ink);text-decoration:none;font-weight:600;font-size:16px;padding:16px 26px;border-radius:6px;border:0;cursor:pointer;font-family:inherit}
.btn:hover{background:#ECB955;color:var(--ink)}
.btn-ghost{background:transparent;border:1.5px solid rgba(245,246,242,.6);color:var(--ground);padding:14.5px 26px}
.btn-ghost:hover{background:rgba(245,246,242,.1);color:var(--ground)}

/* Header + hero */
.hero{position:relative;min-height:100vh;display:flex;flex-direction:column;color:var(--ground);
  background:#1D4337 url('images/hero.jpg') center/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,30,24,.85) 0%,rgba(10,30,24,.55) 55%,rgba(10,30,24,.2) 100%)}
.nav{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;padding-bottom:24px}
.logo{display:flex;align-items:center;gap:12px;color:var(--ground);text-decoration:none;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:20px}
.logo span{font-weight:700;color:inherit}
.logo:hover{color:var(--ground)}
.menu{display:flex;flex-wrap:wrap;gap:28px;font-size:15px;font-weight:500}
.menu a{color:var(--ground);text-decoration:none}
.menu a:hover{color:var(--gold)}
.hero-body{position:relative;z-index:2;flex-grow:1;display:flex;align-items:center;padding-top:80px;padding-bottom:120px}
.hero h1{font-size:clamp(44px,6.5vw,84px);letter-spacing:-.02em;max-width:900px;margin-bottom:28px}
.hero .lead{font-size:19px;color:#D3DED8;max-width:600px;margin:0 0 40px}
.hero .eyebrow{color:var(--gold);margin-bottom:20px}
.actions{display:flex;flex-wrap:wrap;gap:16px}

/* Sections */
section{scroll-margin-top:20px}
.section{padding:112px 0}
.section h2{font-size:clamp(32px,4vw,44px);margin-bottom:56px;max-width:720px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px}
.card .no{font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:600;color:var(--gold-dark)}
.card h3{font-size:22px;font-weight:600;margin:0 0 10px}
.card p{margin:0;font-size:15px;color:var(--muted)}
.why{background:var(--ground-2)}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px}
.why-grid .bar{width:44px;height:3px;background:var(--gold);margin-bottom:20px}
.why-grid h3{font-size:21px;font-weight:600;margin-bottom:12px}
.why-grid p{margin:0;font-size:15px;color:var(--muted);line-height:1.65}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:20px}
.tile{position:relative;margin:0;border-radius:10px;overflow:hidden;aspect-ratio:4/3;background:#DDE3DC}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.tile:hover img{transform:scale(1.04)}
.tile figcaption{position:absolute;left:0;right:0;bottom:0;padding:48px 24px 20px;color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:20px;background:linear-gradient(0deg,rgba(10,30,24,.85),rgba(10,30,24,0))}
.why-layout{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.why-layout > div{flex:999 1 560px;min-width:0}
.why-img{flex:1 1 440px;min-width:0;width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;object-position:65% center;border-radius:10px}
.why-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.band{position:relative;min-height:min(56vw,560px);display:flex;align-items:flex-end;background:#2A5547 url('images/port.jpg') center/cover no-repeat}
.band::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,30,24,.75) 0%,rgba(10,30,24,0) 55%)}
.band .wrap{position:relative;width:100%;padding-bottom:48px}
.band p{margin:0;max-width:640px;color:#fff;font-family:'Space Grotesk',sans-serif;font-size:clamp(22px,2.6vw,32px);font-weight:600;line-height:1.25}
.about{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.about .text{flex:1 1 440px;min-width:0;font-size:18px;line-height:1.7;color:#33433C}
.about .text h2{margin-bottom:32px}
.about .text p{margin:0 0 20px}
.about-media{flex:1 1 440px;min-width:0;position:relative;padding-bottom:clamp(70px,7vw,100px)}
.about-inset{position:absolute;left:-24px;bottom:0;width:52%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:40% center;border-radius:10px;border:6px solid var(--ground);box-shadow:0 12px 32px rgba(10,30,24,.18)}
@media (max-width:640px){.about-inset{left:0}}
.about-img{display:block;min-width:0;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;border-radius:10px}

/* Contact */
.contact{position:relative;color:var(--ground);background:var(--green) url('images/office.jpg') center/cover no-repeat}
.contact::before{content:"";position:absolute;inset:0;background:rgba(14,38,31,.86)}
.contact .inner{position:relative}
.contact .inner{display:flex;flex-wrap:wrap;gap:64px}
.contact .info{flex:1 1 380px}
.contact .eyebrow{color:var(--gold)}
.contact h2{margin-bottom:24px}
.contact .info p{font-size:18px;color:#C9D6CF;margin:0 0 36px}
.contact address{font-style:normal;font-size:16px;color:#C9D6CF;line-height:1.7}
.contact address strong{color:var(--ground);font-weight:600}
.contact address a{color:var(--gold);font-weight:600;text-decoration:none}
form{flex:999 1 520px;background:var(--ground);color:var(--ink);border-radius:10px;padding:36px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;align-content:start}
label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}
input,textarea{font:inherit;font-weight:400;padding:12px;border:1px solid #B8C2BB;border-radius:6px;background:#fff;color:var(--ink)}
input:focus,textarea:focus{outline:2px solid var(--gold);outline-offset:1px}
textarea{resize:vertical}
.full{grid-column:1/-1}
.hidden{position:absolute;left:-9999px}
.form-error{margin:0;padding:12px 14px;border-radius:6px;background:#FBE9E7;color:#8A1C10;font-size:14px}
.consent{font-size:13px;font-weight:400;color:var(--muted);margin:0}
form .btn{justify-self:start}

/* Footer */
footer{background:var(--green-dark);color:#9FB3A8;font-size:14px}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-top:32px;padding-bottom:32px}
footer a{color:#9FB3A8}
footer a:hover{color:var(--gold)}

/* Simple pages (privacy, thank you) */
.page-head{position:relative;color:var(--ground);background:var(--green) url('images/oil-wide.jpg') center/cover no-repeat;padding-bottom:120px}
.page-head::before{content:"";position:absolute;inset:0;background:rgba(14,38,31,.78)}
.page-head .nav{position:relative}
.page-body{max-width:820px;margin:0 auto;padding:72px 32px 96px}
.page-body h1{font-size:44px;margin-bottom:24px}
.page-body h2{font-size:24px;margin:40px 0 12px}
.page-body p,.page-body li{color:#33433C}

@media (max-width:640px){
  .wrap{padding:0 20px}
  .menu{gap:18px}
  .nav .btn{display:none}
  .section{padding:80px 0}
  form{padding:24px}
}
