:root {
  --bg: #161513;
  --bg-2: #1f1d1a;
  --line: #3d3934;
  --text: #f3eee6;
  --muted: #a59d91;
  --accent: #e5703f;
  --accent-2: #3e968e;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 10; background: rgba(22,21,19,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid #2c2926;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 800; text-decoration: none; letter-spacing: .02em; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.logo i { width: 14px; height: 14px; background: var(--accent); display: inline-block; box-shadow: 6px 6px 0 var(--accent-2); }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
nav a:hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .08em; cursor: pointer; }

/* Sections */
section { padding: 96px 0; border-bottom: 1px solid #2c2926; scroll-margin-top: 68px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.lead { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.btn {
  display: inline-block; background: var(--accent); color: #161513; text-decoration: none;
  font-weight: 500; font-size: 18px; letter-spacing: .04em; text-transform: uppercase;
  padding: 18px 40px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent-2); }
.btn.ghost { background: transparent; color: var(--text); outline: 2px solid var(--line); outline-offset: -2px; }

/* Hero / About */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.hero .lead span { color: var(--accent); }
.hero p.sub { font-size: 21px; margin-top: 24px; color: #ddd6cb; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.portrait { position: relative; padding: 0 0 40px 40px; }
.portrait::before, .portrait::after { content: ""; position: absolute; background: var(--accent-2); }
.portrait::before { width: 42%; height: 42%; left: 0; bottom: 0; }
.portrait::after { width: 22%; height: 22%; right: -22px; top: -22px; }
.portrait img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.card h3 { font-size: 23px; font-weight: 800; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.card .go { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* Work */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.offer h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 18px; }
.offer .price { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); background: var(--bg-2); }
.checks li { padding: 18px 24px 18px 56px; border-bottom: 1px solid #2c2926; position: relative; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 24px; top: 26px; width: 12px; height: 12px; background: var(--accent); }

/* Articles */
.article { padding: 28px 0; border-bottom: 1px solid #2c2926; display: grid; grid-template-columns: 1fr 160px; gap: 28px; text-decoration: none; align-items: center; }
.article:first-child { padding-top: 0; }
.article h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; transition: color .15s; }
.article:hover h3 { color: var(--accent); }
.article p { color: var(--muted); font-size: 16px; margin: 0; }
.article .date { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }
.article img { width: 160px; height: 106px; object-fit: cover; background: #2c2926; }
.articles-foot { margin-top: 40px; }

/* akshadwrites / akshadbuilds / akshadcreates … */
.brand-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.brand-title { font-size: clamp(40px, 7vw, 84px); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-transform: none; color: var(--text); margin: 0; }
.brand-title span { color: var(--accent); }
.brand-head p { color: var(--muted); max-width: 420px; margin: 0; }
.brand-sub { font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 56px 0 24px; }
/* akshadreads: book covers */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 32px; }
.book { text-decoration: none; display: block; }
.cover {
  position: relative; aspect-ratio: 2 / 3; background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
  overflow: hidden; margin-bottom: 18px; box-shadow: 6px 6px 0 var(--accent-2); transition: transform .15s, box-shadow .15s;
}
.cover span { font-weight: 800; font-size: 20px; color: var(--muted); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book:hover .cover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--accent); }
.book h3 { font-size: 20px; font-weight: 800; transition: color .15s; }
.book:hover h3 { color: var(--accent); }
.book .by { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.book p { color: var(--muted); font-size: 16px; margin: 8px 0 0; }
.shelf-group + .shelf-group { margin-top: 72px; }
.back { display: inline-block; margin-bottom: 32px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--accent); }
@media (max-width: 560px) { .shelf { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .book h3 { font-size: 17px; } .book p { font-size: 15px; } }
.soon { border: 2px dashed var(--line); padding: 32px; color: var(--muted); }

/* Contact (matches original form) */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact .intro { font-size: 22px; line-height: 1.7; }
.pixels { position: relative; height: 200px; margin-top: 48px; }
.pixels b { position: absolute; background: var(--accent-2); }
form label { display: block; font-weight: 800; font-size: 18px; text-transform: uppercase; margin: 0 0 12px; }
form .field { margin-bottom: 28px; }
input, textarea {
  width: 100%; background: var(--bg-2); border: 2px solid var(--line); color: var(--text);
  font: inherit; font-size: 18px; padding: 18px 24px; outline: none; border-radius: 0;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 180px; resize: vertical; }
::placeholder { color: #716a60; }
.note { font-size: 15px; margin-top: 18px; }
.hp { position: absolute; left: -9999px; }

footer { padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-left: 20px; }
footer a:hover { color: var(--accent); }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero, .offer, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero .portrait { max-width: 360px; order: -1; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid #2c2926; }
  nav.open { display: flex; }
  nav a { padding: 16px; border-top: 1px solid #2c2926; }
  .menu-btn { display: block; }
  .article { grid-template-columns: 1fr 96px; gap: 16px; }
  .article img { width: 96px; height: 72px; }
  .pixels { display: none; }
  .portrait::after { right: -10px; top: -10px; }
}

/* ── Phones ── */
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  h2 { margin-bottom: 20px; }
  .btn { display: block; width: 100%; text-align: center; padding: 15px 20px; font-size: 16px; }

  /* Hero: compact photo, headline and buttons above the fold */
  .hero { gap: 28px; }
  .hero .portrait { max-width: 190px; padding: 0 0 18px 18px; }
  .portrait::after { width: 22%; height: 22%; right: -8px; top: -8px; }
  .lead { font-size: 30px; }
  .hero p.sub { font-size: 17px; margin-top: 16px; }
  .hero .ctas { flex-direction: column; gap: 12px; margin-top: 24px; }

  /* Section titles */
  .brand-head { margin-bottom: 24px; gap: 10px; }
  .brand-title { font-size: 42px; }
  .brand-head p { font-size: 15px; }
  .articles-foot { margin-top: 28px; }

  /* Articles: title + 2-line teaser, small thumbnail, five on phones */
  .article { grid-template-columns: 1fr 72px; gap: 14px; padding: 18px 0; align-items: start; }
  .article h3 { font-size: 17px; margin-bottom: 6px; }
  .article p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .article .date { font-size: 11px; margin-bottom: 4px; }
  .article img { width: 72px; height: 72px; margin-top: 18px; }
  #feed .article:nth-child(n+6) { display: none; }

  /* Books: swipeable row on the home page, 2-up grid on the books page */
  .shelf { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .shelf-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -16px; padding: 0 16px 14px; scroll-padding: 0 16px; scrollbar-width: none; }
  .shelf-row::-webkit-scrollbar { display: none; }
  .shelf-row .book { flex: 0 0 42%; scroll-snap-align: start; }
  .cover { margin-bottom: 12px; box-shadow: 4px 4px 0 var(--accent-2); }
  .book h3 { font-size: 15px; }
  .book .by { font-size: 11px; margin-top: 4px; }
  .book p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* Cards and coaching */
  .grid { gap: 14px; }
  .card { padding: 22px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 15px; }
  .offer { gap: 28px; }
  .offer h3 { font-size: 26px; }
  .offer .price { margin-bottom: 18px; }
  .checks li { padding: 13px 16px 13px 42px; font-size: 15px; }
  .checks li::before { left: 18px; top: 20px; width: 10px; height: 10px; }

  /* Contact */
  .contact { gap: 24px; }
  .contact .intro { font-size: 17px; }
  form .field { margin-bottom: 18px; }
  form label { font-size: 15px; margin-bottom: 8px; }
  input, textarea { font-size: 16px; padding: 14px 16px; }
  textarea { min-height: 130px; }

  footer .wrap { flex-direction: column; gap: 10px; }
  footer a { margin: 0 20px 0 0; }
  nav a { font-size: 15px; padding: 16px; }
}
