/*
Theme Name: Elpucken Preview v5
Theme URI: https://elpucken.se
Author: OpenAI + Elpucken
Description: Professionell preview för Elpucken. Byggd med riktiga projektbilder, tydlig läsbarhet och premiumkänsla. Stöd för egen logotyp via Anpassa → Webbplatsidentitet.
Version: 5.0.0
License: GPLv2 or later
Text Domain: elpucken-preview-v5
*/

:root{
  --ink:#111315;
  --ink-soft:#181a1c;
  --graphite:#202224;
  --cream:#f4efe6;
  --cream-2:#ebe3d6;
  --white:#fffaf2;
  --muted:#c7c0b6;
  --gold:#b79055;
  --gold-dark:#9a7642;
  --line:rgba(183,144,85,.34);
  --shadow:0 30px 90px rgba(0,0,0,.35);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--ink);
  color:var(--white);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}

.site-shell{min-height:100vh;overflow:hidden;background:var(--ink)}
.container{width:min(1160px,calc(100% - 44px));margin-inline:auto}
.eyebrow{font-size:.76rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);font-weight:800;margin:0 0 16px}
.lead{font-size:clamp(1.05rem,2vw,1.28rem);color:#e9e1d6;max-width:720px;margin:0}

/* Header */
.site-header{
  position:fixed;z-index:50;top:0;left:0;right:0;
  background:rgba(17,19,21,.82);
  backdrop-filter: blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-icon{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--gold);font-weight:900;font-size:22px;flex:0 0 auto;background:rgba(255,255,255,.03)}
.brand-text{line-height:1;min-width:0}
.brand-title{display:block;color:var(--white);font-size:1.34rem;letter-spacing:.16em;font-weight:800;white-space:nowrap}
.brand-sub{display:block;color:var(--gold);font-size:.68rem;letter-spacing:.32em;font-weight:800;margin-top:8px;white-space:nowrap}
.custom-logo-link img{max-height:52px;width:auto}
.nav{display:flex;align-items:center;gap:30px;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#eee7dc}
.nav a{opacity:.86}.nav a:hover{opacity:1;color:var(--gold)}
.header-cta{padding:14px 20px;border:1px solid var(--gold);color:#fff2de;background:rgba(183,144,85,.08)}
.menu-toggle{display:none;background:none;border:0;color:var(--white);font:800 .9rem var(--sans);letter-spacing:.16em;text-transform:uppercase;padding:12px 0}

/* Hero */
.hero{position:relative;min-height:100svh;padding-top:82px;display:grid;align-items:end;background:var(--ink);isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;background-image:var(--hero-img);background-size:cover;background-position:center;z-index:-3;filter:saturate(.86) contrast(1.06)}
.hero::after{content:"";position:absolute;inset:0;z-index:-2;background:
  linear-gradient(90deg, rgba(8,9,10,.92) 0%, rgba(8,9,10,.78) 36%, rgba(8,9,10,.42) 66%, rgba(8,9,10,.70) 100%),
  linear-gradient(0deg, rgba(17,19,21,.98) 0%, rgba(17,19,21,.22) 34%, rgba(17,19,21,.08) 100%)}
.hero-content{padding:96px 0 82px;max-width:840px}
.hero-title{font-family:var(--serif);font-weight:500;letter-spacing:-.055em;font-size:clamp(3.45rem,9vw,6.8rem);line-height:.9;margin:0 0 32px;color:#fffaf3;text-shadow:0 7px 32px rgba(0,0,0,.64)}
.hero-title span{display:block}
.hero-text{max-width:660px;font-size:clamp(1.15rem,2.3vw,1.45rem);color:#f2ece3;font-weight:450;text-shadow:0 4px 22px rgba(0,0,0,.6);margin:0 0 34px}
.actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 28px;border:1px solid var(--gold);font-weight:850;font-size:.82rem;letter-spacing:.13em;text-transform:uppercase;transition:.2s ease;color:#fffdf8}
.btn-primary{background:var(--gold);color:#121212}.btn-primary:hover{background:#c49d5f;transform:translateY(-1px)}
.btn-ghost{background:rgba(0,0,0,.22)}.btn-ghost:hover{background:rgba(183,144,85,.14)}
.hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:64px;max-width:850px}
.proof-item{border-top:1px solid var(--line);padding-top:18px;color:#e4dbcf;font-size:.98rem}

/* Trust band */
.trust-band{background:var(--cream);color:#17191b;border-bottom:1px solid rgba(17,19,21,.08)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:64px 0}
.trust-item{padding:0 36px;border-left:1px solid rgba(17,19,21,.13)}
.trust-item:first-child{border-left:0;padding-left:0}
.trust-title{font-family:var(--sans);letter-spacing:.17em;text-transform:uppercase;color:var(--gold-dark);font-size:.78rem;font-weight:900;margin:0 0 14px}
.trust-item p{margin:0;color:#47433e;line-height:1.6}

/* Split story */
.dark-section{background:var(--ink);color:var(--white)}
.story{padding:110px 0;display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}
.story h2,.section-title{font-family:var(--serif);font-weight:500;letter-spacing:-.045em;line-height:1.02;font-size:clamp(2.45rem,5vw,4.9rem);margin:0 0 28px;color:#fffaf2}
.story p{color:#d8d0c4;font-size:1.15rem;margin:0 0 20px}.gold-word{color:var(--gold)}
.story-photo{border-radius:2px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:16/10}.story-photo img{width:100%;height:100%;object-fit:cover}

/* Projects */
.light-section{background:var(--cream);color:#16181a}
.projects{padding:105px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:44px}
.section-head p{max-width:640px;color:#5b554d;margin:0;font-size:1.1rem}
.project-feature{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}
.feature-text{background:#fffaf3;padding:58px;border:1px solid rgba(17,19,21,.08);display:flex;flex-direction:column;justify-content:center;min-height:430px}
.feature-text h3{font-family:var(--serif);font-size:clamp(2.1rem,4vw,3.6rem);line-height:1.02;letter-spacing:-.035em;margin:0 0 22px;color:#1b1c1e}
.feature-text p{font-size:1.12rem;color:#55504a;margin:0 0 28px}.feature-img{min-height:430px;overflow:hidden}.feature-img img{width:100%;height:100%;object-fit:cover}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.project-card{background:#fffaf3;border:1px solid rgba(17,19,21,.08);overflow:hidden;transition:.2s ease}.project-card:hover{transform:translateY(-2px);box-shadow:0 14px 50px rgba(0,0,0,.12)}
.project-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.project-card .card-body{padding:28px}.project-card h3{font-size:1.35rem;margin:0 0 10px;letter-spacing:-.03em}.project-card p{margin:0;color:#5f5a52;line-height:1.55}.link{display:inline-flex;gap:12px;color:var(--gold-dark);font-weight:900;letter-spacing:.13em;text-transform:uppercase;font-size:.78rem;margin-top:24px}

/* Services */
.services{padding:105px 0;background:#fffaf3;color:#17191b}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(17,19,21,.12);border:1px solid rgba(17,19,21,.1)}
.service{background:#fffaf3;padding:38px;min-height:250px}.service-num{color:var(--gold-dark);font-weight:900;letter-spacing:.18em;font-size:.75rem}.service h3{font-size:1.35rem;margin:32px 0 14px}.service p{color:#5e5850;margin:0}

/* Process */
.process{padding:105px 0;background:var(--ink-soft)}
.process-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.process-list{display:grid;gap:18px}.process-item{border-top:1px solid rgba(255,255,255,.12);padding:22px 0;display:grid;grid-template-columns:80px 1fr;gap:22px}.process-item b{color:var(--gold);font-size:.82rem;letter-spacing:.16em}.process-item h3{margin:0 0 6px;font-size:1.2rem}.process-item p{margin:0;color:#cfc6ba}

/* CTA */
.cta{background:var(--cream);color:#17191b;padding:88px 0}.cta-box{display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px}.cta h2{font-family:var(--serif);font-size:clamp(2.2rem,4vw,4rem);line-height:1.02;letter-spacing:-.04em;margin:0 0 18px}.cta p{margin:0;color:#5a554d;font-size:1.1rem}

/* Footer */
.site-footer{background:#0c0d0e;color:#d8d0c4;padding:56px 0 34px;border-top:1px solid rgba(255,255,255,.08)}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}.footer-small{margin-top:48px;color:#827a70;font-size:.88rem;border-top:1px solid rgba(255,255,255,.08);padding-top:24px}

@media (max-width: 980px){
  .nav{display:none}.menu-toggle{display:block}.header-cta{display:none}.header-inner{height:78px}.brand-title{font-size:1.05rem;letter-spacing:.14em}.brand-sub{font-size:.58rem}.brand-icon{width:42px;height:42px}
  .hero{min-height:calc(100svh - 0px)}.hero-content{padding:68px 0 54px}.hero::after{background:linear-gradient(0deg,rgba(8,9,10,.95) 0%,rgba(8,9,10,.62) 55%,rgba(8,9,10,.42) 100%)}
  .hero-title{font-size:clamp(3.1rem,15vw,5rem);line-height:.95;color:#fffaf3}.hero-text{font-size:1.08rem}.actions{display:grid}.btn{width:100%}.hero-proof{grid-template-columns:1fr;gap:18px;margin-top:44px}
  .trust-grid{grid-template-columns:1fr;padding:56px 0}.trust-item{border-left:0;border-top:1px solid rgba(17,19,21,.12);padding:22px 0}.trust-item:first-child{border-top:0}
  .story,.project-feature,.process-grid,.cta-box,.footer-grid{grid-template-columns:1fr;gap:34px}.story,.projects,.services,.process{padding:72px 0}.section-head{display:block}.project-grid,.services-grid{grid-template-columns:1fr}.feature-text{padding:34px;min-height:auto}.feature-img{min-height:auto}.process-item{grid-template-columns:56px 1fr}.container{width:min(100% - 36px,1160px)}
}
