:root{
  /* Color: quiet ink + warm paper-white */
  --bg:#0b0d10;
  --bg2:#0f1217;

  --surface: rgba(255,255,255,.05);
  --surface2: rgba(255,255,255,.035);
  --border: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.52);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --max: 980px;

  /* Typography scale */
  --h1: clamp(38px, 4vw, 56px);
  --h2: clamp(22px, 2.2vw, 30px);
  --h3: 14px;

  --body: 16px;
  --small: 13px;

  /* Spacing */
  --pad: 24px;
  --pad-lg: 34px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  color:var(--text);

  /* quiet, book-cover-ish backdrop */
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(255,255,255,.07), transparent 60%),
    radial-gradient(780px 440px at 10% 10%, rgba(255,255,255,.04), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.65;
  letter-spacing: .01em;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.95; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 70px;
}

/* Header */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 10px 0 28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand .dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
}
.nav a:hover{ background: var(--surface); color: var(--text); }

/* Panels & Cards */
.panel{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section{
  padding: var(--pad-lg);
}

.card{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface2);
  padding: 16px 16px 14px;
}

/* Typography */
h1,h2{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
h1{ font-size: var(--h1); line-height: 1.05; }
h2{ font-size: var(--h2); line-height: 1.18; }

.kicker{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
}

.lead{
  margin: 0 0 16px;
  color: var(--text);
  max-width: 64ch;
}

p{ margin: 0 0 14px; color: var(--muted); }
strong{ color: var(--text); }

.small{ font-size: var(--small); color: var(--muted2); }

/* Dash line motif */
.dashline{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
  margin: 26px 0;
  position: relative;
}
.dashline::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width: 220px; height: 22px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 62%);
  filter: blur(7px);
  pointer-events:none;
}

/* Layout */
.hero{
  display:grid;
  grid-template-columns: 320px 1fr;
}

.cover{
  padding: 26px;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(255,255,255,.10), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.22), transparent 45%);
  display:flex;
  align-items:center;
  justify-content:center;
}

.cover img{
  width: 100%;
  max-width: 260px;
  height:auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 70px rgba(0,0,0,.60);
  display:block;
  background:#111;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

/* Labels inside cards */
.card .label{
  margin:0 0 8px;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 800;
}
.card p{ margin:0; color: var(--muted); }

/* Quote block (very bookish) */
.quote{
  margin-top: 18px;
  border-left: 2px solid rgba(255,255,255,.18);
  padding: 10px 0 10px 14px;
  color: var(--muted);
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.5;
  max-width: 62ch;
}

/* Buttons */
.btnrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  font-weight: 700;
  letter-spacing: .01em;
}
.btn:hover{ background: rgba(255,255,255,.14); }
.btn.secondary{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}

/* Footer */
.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 13px;
}
.footer a{
  color: var(--muted2);
  border-bottom: 1px solid transparent;
}
.footer a:hover{
  color: var(--text);
  border-bottom-color: rgba(255,255,255,.25);
}

/* Mobile */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .cover{ border-right: none; border-bottom: 1px solid var(--border); }
  .section{ padding: 22px 18px; }
  .grid{ grid-template-columns: 1fr; }
}
