/* Rogers Energy — rustig, typografisch, gemaakt voor telefoon en desktop */
:root {
  --bg: #f3eee4;
  --bg-2: #eae3d4;
  --paper: #fffbf4;
  --ink: #14241c;
  --muted: #5a6a62;
  --line: #d9cfbe;
  --pine: #1b4d38;
  --pine-deep: #10291e;
  --leaf: #2d7a56;
  --gold: #c47b1a;
  --rust: #b24a2c;
  --sky: #3d6e62;
  --ok: #1f6b45;
  --warn-bg: #f4e3c4;
  --priv-bg: #1b4d38;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 36, 28, 0.07);
  --font: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, #efe6cf 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100%;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--leaf); }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: var(--pine);
  color: #f7f3ea;
}

/* Hero */
.hero { padding: 36px 0 12px; }
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 700;
  margin: 0 0 8px;
}
.hero h1, .page-title {
  font-family: var(--display);
  font-weight: 550;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 8px;
}

/* Cards / layout */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.price-now {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}
.price-now .amount {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 4px 0 6px;
}
.price-now .unit { color: var(--muted); font-weight: 600; }
.price-now .when { margin: 0; color: var(--muted); }
.chips {
  display: grid;
  gap: 10px;
}
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.chip dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.chip dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 650; }
.chip .sub { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }
.chip.is-low dd { color: var(--ok); }
.chip.is-high dd { color: var(--rust); }

section { padding: 28px 0; }
section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.section-intro { color: var(--muted); margin: 0 0 18px; max-width: 44rem; }

.chart-box { position: relative; height: 320px; }
.legend-note, .meta, .fine {
  color: var(--muted);
  font-size: 0.9rem;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; margin-right: 6px;
  background: var(--leaf);
}
.dot.stale { background: var(--gold); }
.dot.err { background: var(--rust); }

.gas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.gas-card h3 { margin: 0 0 4px; font-size: 0.95rem; color: var(--muted); font-weight: 700; }
.gas-card .amount {
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  margin: 0;
}
.breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.breakdown div {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
}
.breakdown strong { display: block; font-size: 1.05rem; }
.breakdown span { color: var(--muted); font-size: 0.88rem; }

/* Filters + table */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.filters button {
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #f7f3ea;
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.contracts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px;
}
table.contracts th, table.contracts td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.contracts th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
table.contracts td.num, table.contracts th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.contracts tbody tr:hover { background: #f6efe3; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-2);
}
.tag.vast { background: #e1efe6; color: #145337; }
.tag.variabel { background: #efe6cf; color: #6a4a10; }
.tag.dynamisch { background: #dcebe7; color: #1c4a42; }
.highlight-row { box-shadow: inset 3px 0 0 var(--leaf); }

.note {
  background: var(--warn-bg);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 0.92rem;
}
.note p { margin: 0; }

/* Private page */
.priv-banner {
  background: var(--priv-bg);
  color: #f4efe4;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 22px 0 8px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.priv-banner strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.priv-banner p { margin: 4px 0 0; color: #d8e4dc; font-size: 0.95rem; }
.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 18px 0 8px;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  grid-column: span 2;
}
.tile.wide { grid-column: span 3; }
.tile h3 {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile .big {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 6px 0 2px;
  line-height: 1;
}
.tile ul { margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.tile li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px solid #eee4d4; }
.tile li span:last-child { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.stamp { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

footer {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
footer p { margin: 0 0 8px; max-width: 46rem; }

@media (max-width: 860px) {
  .grid-2, .gas-grid, .breakdown { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .chart-box { height: 260px; }
  .header-inner { flex-wrap: wrap; align-items: center; }
  .nav { width: 100%; justify-content: flex-start; }
  .nav a { padding: 8px 10px; font-size: 0.88rem; }
  .hero { padding-top: 24px; }
}
