/*
Theme Name: ARVU Landing
Theme URI: https://arvu.ee/
Author: MTU Eesti Arvestusloo Muuseum
Description: Original bilingual one-page WordPress theme for ARVU / Eesti Arvestusloo Muuseum. No external theme assets or required plugins.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: arvu-landing
License: GPL-2.0-or-later
*/

:root{
  --navy:#082c43;
  --navy-2:#0b4058;
  --teal:#0c8e8f;
  --green:#72c51b;
  --green-dark:#3e9c20;
  --cream:#f7f5ef;
  --white:#ffffff;
  --ink:#0b2940;
  --muted:#53646e;
  --line:#dfe7e5;
  --mint:#eaf5ef;
  --radius:22px;
  --shadow:0 22px 55px rgba(6,43,63,.11);
  --max:1220px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}
img,svg{max-width:100%;height:auto}
button,a{touch-action:manipulation}
::selection{background:#dff3c0;color:var(--navy)}
.container{width:min(calc(100% - 40px),var(--max));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(8,44,67,.08)}
.header-row{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:center;text-decoration:none;min-width:210px}
.logo img{width:178px;display:block}
.header-tools{display:flex;align-items:center;gap:16px;font-size:.88rem;font-weight:650}
.header-tools .mail{text-decoration:none;color:var(--navy);white-space:nowrap}
.langs{display:flex;gap:6px;align-items:center;color:#6a7881}
.langs a{text-decoration:none;padding:4px 6px;border-radius:8px}
.langs a.active{color:var(--navy);font-weight:800;background:#eef5f2}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border-radius:13px;padding:14px 22px;font-weight:800;border:1px solid transparent;transition:.2s ease;min-height:50px}
.btn-primary{background:linear-gradient(135deg,var(--green),#98d52f);color:#102a36;box-shadow:0 9px 22px rgba(114,197,27,.24)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 13px 26px rgba(114,197,27,.31)}
.btn-secondary{border-color:#1b536e;color:var(--navy);background:rgba(255,255,255,.82)}
.btn-secondary:hover{background:#eef6f4}
.arrow{font-size:1.05em}
.hero{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbfcf8 100%);border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:650px;align-items:center}
.hero-copy{padding:72px 24px 64px 0;position:relative;z-index:2}
.eyebrow{text-transform:uppercase;letter-spacing:.17em;color:var(--navy-2);font-weight:800;font-size:.74rem;margin:0 0 18px}
.hero h1{font-size:clamp(3rem,5.4vw,5.5rem);line-height:.95;letter-spacing:-.055em;margin:0 0 24px;max-width:720px}
.hero h1 .accent{color:var(--green-dark);display:block}
.hero .lead{font-size:clamp(1.05rem,1.55vw,1.3rem);max-width:690px;color:#315064;margin:0 0 30px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:34px}
.values{display:flex;flex-wrap:wrap;gap:0;border-top:1px solid var(--line);padding-top:26px;max-width:720px}
.value{display:flex;align-items:center;gap:12px;padding:0 24px 0 0;margin-right:24px;border-right:1px solid var(--line);min-height:48px}
.value:last-child{border-right:0;margin-right:0;padding-right:0}
.value svg{width:31px;height:31px;flex:none;color:var(--navy-2)}
.value strong{display:block;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;line-height:1.25}
.hero-art{position:relative;align-self:stretch;min-height:650px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f6f3ec 0%,#eef6f0 70%,#e8f6f5 100%)}
.hero-art::before{content:"";position:absolute;width:440px;height:440px;border-radius:50%;background:var(--teal);opacity:.13;right:-120px;top:-150px}
.hero-art::after{content:"";position:absolute;width:240px;height:240px;background:var(--green);clip-path:polygon(0 0,100% 0,100% 100%);right:0;bottom:0;opacity:.86}
.hero-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hero-note{position:absolute;right:7%;top:7%;background:#fffdf6;padding:22px 22px 20px;box-shadow:var(--shadow);transform:rotate(-3deg);font-family:Georgia,serif;font-style:italic;font-size:1.15rem;line-height:1.25;z-index:3;max-width:190px;border:1px solid #ece8db}
.hero-note::after{content:"";display:block;width:42px;height:4px;background:var(--green);margin-top:14px;border-radius:4px}
.section{padding:84px 0}
.section.soft{background:var(--cream)}
.section.dark{background:linear-gradient(125deg,#063448,#07556a);color:white;position:relative;overflow:hidden}
.section.dark::after{content:"";position:absolute;width:260px;height:260px;border:44px solid var(--green);border-radius:50%;right:-150px;top:-100px;opacity:.9}
.section-head{display:grid;grid-template-columns:.8fr 1.2fr;gap:54px;align-items:start;margin-bottom:48px}
.section-head h2{font-size:clamp(2.25rem,4.2vw,4.6rem);line-height:1.01;letter-spacing:-.045em;margin:0}
.section-head p{font-size:1.08rem;color:#4f6470;max-width:700px;margin:6px 0 0}
.section-label{font-size:.76rem;text-transform:uppercase;letter-spacing:.16em;font-weight:850;color:var(--green-dark);margin:0 0 13px}
.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white}
.theme-card{padding:32px 28px 30px;border-right:1px solid var(--line);min-height:250px}
.theme-card:last-child{border-right:0}
.theme-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:var(--navy);margin-bottom:20px}
.theme-icon svg{width:30px;height:30px}
.theme-card h3{margin:0 0 9px;font-size:1.15rem}
.theme-card p{margin:0;color:#536771;font-size:.94rem}
.contribute-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center;position:relative;z-index:2}
.contribute-art{background:linear-gradient(145deg,#07556a,#042b40);border-radius:28px;min-height:420px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 28px 60px rgba(0,0,0,.18)}
.contribute-art img{width:100%;height:100%;object-fit:cover}
.contribute-copy h2{font-size:clamp(2.5rem,4.4vw,4.7rem);line-height:1;letter-spacing:-.04em;margin:0 0 20px;color:white}
.contribute-copy p{font-size:1.08rem;color:#d9e9eb;max-width:620px}
.contribute-copy .btn{margin-top:14px}
.mini-items{display:flex;gap:28px;margin-top:30px;flex-wrap:wrap}
.mini-item{display:flex;gap:10px;align-items:center;font-size:.86rem;color:#dbe9eb}
.mini-item svg{width:24px;height:24px}
.closing{padding:80px 0 76px}
.closing-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.closing h2{font-size:clamp(2.25rem,4.2vw,4.4rem);line-height:1.02;letter-spacing:-.04em;margin:0 0 18px}
.closing p{color:#536771;font-size:1.06rem;max-width:680px}
.quote{background:linear-gradient(145deg,#f2f7f4,#eef1eb);border-radius:22px;padding:32px 34px;border-left:5px solid var(--green);font-family:Georgia,serif;font-size:1.28rem;font-style:italic;line-height:1.45;color:#28495b}
.contact-card{margin-top:24px;border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;align-items:center;gap:16px;background:#fff}
.contact-card svg{width:34px;height:34px;color:var(--navy)}
.contact-card a{font-size:1.45rem;font-weight:800;text-decoration:none;color:var(--navy)}
.site-footer{background:#063448;color:#d9e8ea;padding:42px 0 26px;position:relative;overflow:hidden}
.site-footer::after{content:"";position:absolute;width:220px;height:220px;background:linear-gradient(135deg,var(--green),#92d43d);clip-path:polygon(100% 0,100% 100%,0 100%);right:0;bottom:0;opacity:.9}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2}
.footer-logo img{width:160px;filter:brightness(0) invert(1)}
.footer-contact{display:flex;gap:28px;align-items:center;flex-wrap:wrap;font-size:.9rem}
.footer-contact a{color:white;text-decoration:none}
.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid rgba(255,255,255,.2);display:flex;justify-content:space-between;gap:24px;font-size:.78rem;color:#b9ced2;position:relative;z-index:2}
.mobile-only{display:none}
@media(max-width:980px){
  .container{width:min(calc(100% - 30px),var(--max))}
  .hero-grid{grid-template-columns:1fr;min-height:0}
  .hero-copy{padding:54px 0 40px}
  .hero-art{min-height:420px;border-radius:24px;margin-bottom:22px;overflow:hidden}
  .hero h1{font-size:clamp(3.1rem,10vw,5rem)}
  .section-head{grid-template-columns:1fr;gap:18px}
  .theme-grid{grid-template-columns:repeat(2,1fr)}
  .theme-card:nth-child(2){border-right:0}.theme-card:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .contribute-grid,.closing-grid{grid-template-columns:1fr}
  .contribute-art{order:2}
}
@media(max-width:720px){
  .header-row{min-height:68px}.logo{min-width:auto}.logo img{width:146px}
  .header-tools .mail{display:none}.header-tools{gap:8px}.header-tools>.btn{display:none}
  .hero-copy{padding-top:42px}.hero h1{font-size:clamp(3rem,14vw,4.4rem);max-width:580px}
  .hero .lead{font-size:1.02rem}.actions{display:grid;grid-template-columns:1fr}.btn{width:100%}
  .values{display:grid;grid-template-columns:1fr 1fr;gap:14px}.value{border-right:0;margin:0;padding:0;align-items:flex-start}
  .hero-art{min-height:330px;margin-left:-15px;margin-right:-15px;border-radius:0}.hero-note{font-size:.95rem;right:5%;top:5%;max-width:150px;padding:16px}
  .section{padding:60px 0}.section-head h2,.closing h2{font-size:2.55rem}
  .theme-grid{grid-template-columns:1fr}.theme-card{border-right:0!important;border-bottom:1px solid var(--line)!important;min-height:0;padding:24px}.theme-card:last-child{border-bottom:0!important}
  .contribute-grid{gap:34px}.contribute-copy h2{font-size:2.75rem}.contribute-art{min-height:300px}
  .closing{padding:58px 0}.quote{font-size:1.08rem;padding:26px}.contact-card a{font-size:1.1rem}
  .footer-row,.footer-bottom{align-items:flex-start;flex-direction:column}.footer-contact{gap:12px;flex-direction:column;align-items:flex-start}.footer-logo img{width:145px}
  .desktop-only{display:none}.mobile-only{display:block}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
