/* ===========================================================
   Yorozu — online personal training
   Stijl: donker, minimaal, kalm maar motiverend
   =========================================================== */

:root {
  --bg:        #0d0f12;
  --bg-alt:    #121519;
  --surface:   #171b21;
  --surface-2: #1d222a;
  --border:    #272d36;
  --text:      #ebe9e4;
  --muted:     #9aa1ab;
  --accent:    #d4b483;   /* warm zand-goud */
  --accent-2:  #7fb3a0;   /* kalme jade */
  --accent-soft: rgba(212,180,131,0.12);
  --danger:    #e08a7a;
  --radius:    14px;
  --maxw:      1080px;
  --shadow:    0 18px 50px rgba(0,0,0,0.45);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* soft ambient glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 75% -5%, rgba(212,180,131,0.10), transparent 70%),
    radial-gradient(50% 45% at 10% 5%, rgba(127,179,160,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .6rem; }
h3 { font-size: 1.2rem; }
p  { color: var(--muted); }
strong { color: var(--text); }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #e8cfa0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigatie ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(13,15,18,0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand {
  font-weight: 700; font-size: 1.35rem; letter-spacing: .14em;
  color: var(--text); text-transform: uppercase;
}
.brand span { color: var(--accent); }
.brand small { display:block; font-size:.52rem; letter-spacing:.32em; color:var(--muted); font-weight:500; margin-top:-2px;}
.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--muted); padding: 8px 14px; border-radius: 9px;
  font-size: .94rem; font-weight: 500; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-links a.cta {
  color: var(--bg); background: var(--accent); font-weight: 600;
}
.nav-links a.cta:hover { background: #e8cfa0; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; font-size: 1.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 11px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #e8cfa0; color: var(--bg); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: clamp(70px, 12vw, 130px) 0 clamp(50px, 8vw, 90px); }
.hero .eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px; font-weight: 600;
}
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.hero p.lead { font-size: 1.18rem; max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: clamp(48px, 8vw, 90px) 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .eyebrow {
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-2); font-weight: 600;
}
.bg-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; transition: all .25s;
}
.card:hover { border-color: rgba(212,180,131,.4); transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }

/* ---------- Stat / kenji band ---------- */
.kanji-band { text-align: center; padding: clamp(50px,8vw,80px) 0; }
.kanji { font-size: clamp(4rem, 14vw, 9rem); color: var(--accent); line-height: 1; opacity:.9; }
.kanji-band p { font-size: 1.1rem; max-width: 50ch; margin: 18px auto 0; }

/* ---------- Forms / Calculators ---------- */
.tool-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: start; }
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field .hint { font-size: .8rem; color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; transition: border .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { resize: vertical; min-height: 130px; }
.row { display: flex; gap: 14px; }
.row .field { flex: 1; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg input { display: none; }
.seg label {
  flex: 1; min-width: 90px; text-align: center; padding: 10px 8px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 10px; font-size: .88rem; margin: 0;
  color: var(--muted); transition: all .2s;
}
.seg input:checked + label {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent);
}

/* result */
.result {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: sticky; top: 90px;
}
.result .big { font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.result .unit { font-size: 1rem; color: var(--muted); margin-left: 6px; }
.result .label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.result hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.metric { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.metric .v { font-weight: 700; color: var(--text); }
.muted-note { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.scale-row { display:flex; justify-content:space-between; font-size:.85rem; margin-top:6px; }
.bar { height: 9px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: 10px; position:relative;}
.bar > span { position:absolute; top:0; bottom:0; width:3px; background:var(--accent); border-radius:2px; transition: left .4s ease;}
.bar-grad { background: linear-gradient(90deg,#7fb3a0,#d4b483,#e08a7a); opacity:.35;}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; align-items:flex-start;}
.contact-info .item .ico { color: var(--accent); flex-shrink:0; margin-top:3px;}

/* ---------- Footer ---------- */
footer.site {
  margin-top: auto; border-top: 1px solid var(--border);
  background: var(--bg-alt); padding: 48px 0 30px;
}
.foot-grid { display:flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px;}
.foot-grid .brand { font-size: 1.2rem; }
.foot-links { display:flex; gap: 26px; flex-wrap: wrap;}
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 22px; font-size: .85rem; color: var(--muted); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;}
.socials { display:flex; gap: 14px; }
.socials a { color: var(--muted); } .socials a:hover{color:var(--accent);}

/* utility */
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.lead { color: var(--text); }
.pill { display:inline-block; padding:4px 12px; border:1px solid var(--border); border-radius:999px; font-size:.78rem; color:var(--muted);}
.list-check { list-style:none; }
.list-check li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted); }
.list-check li::before { content:"✓"; position:absolute; left:0; color: var(--accent-2); font-weight:700; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2, .tool-wrap, .contact-grid { grid-template-columns: 1fr; }
  .result { position: static; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-toggle { display: block; }
}
