/* eltonrenda.com home page (loads after site.css).
   Idea: two tracks side by side, work and faith, the way the book sets Galilee beside Rome. */

/* hero: the two lines are the two tracks */
.hero .wrap { padding-top: 76px; padding-bottom: 72px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn.dark { background: var(--basalt); color: var(--paper); }
.btn.dark:hover { background: var(--lake-deep); }
.btn.outline { border: 1.5px solid var(--limestone-2); color: var(--basalt); }
.btn.outline:hover { border-color: var(--lake); color: var(--lake); }
.hero h1 { margin: 0; font-weight: 400; line-height: .98; }
.hero .l1 { display: block; font-family: var(--sans); font-weight: 700; font-size: clamp(46px, 8.4vw, 104px); letter-spacing: -.035em; color: var(--basalt); }
.hero .l2 { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 7.2vw, 90px); letter-spacing: -.02em; color: var(--lake); margin-top: .08em; }
.hero p { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 30em; margin: 34px 0 0; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r-panel); background: var(--limestone); display: grid; place-items: center; position: relative; box-shadow: 14px 14px 0 -1px var(--paper), 14px 14px 0 0 var(--ochre); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-panel); }
.portrait .mono { font-family: var(--serif); font-style: italic; font-size: 120px; color: var(--lake); opacity: .55; line-height: 1; }
.portrait small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .hero .l2 { animation: arrive .9s .45s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes arrive { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
}

/* side by side */
.sbs { background: var(--basalt); color: var(--limestone); }
.sbs .wrap { padding-top: 84px; padding-bottom: 88px; }
.sbs h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; margin: 0 0 12px; }
.sbs .lead { color: #bdb6a6; max-width: 34em; margin: 0 0 48px; }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 64px; }
.track { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.track h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: #f4efe4; margin: 0; padding-bottom: 14px; border-bottom: 2px solid var(--ochre); }
.step { padding: 22px 0 4px; }
.step b { display: block; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ochre); margin-bottom: 4px; }
.step p { margin: 0; font-size: 21px; line-height: 1.45; color: #f4efe4; }
.track.work .step p { font-family: var(--sans); letter-spacing: -.005em; }
.track.faith .step p { font-family: var(--serif); font-style: italic; }
.sbs .note { margin: 48px 0 0; padding-top: 26px; border-top: 1px solid #4a4842; font-size: 19px; color: #d8d1c1; max-width: 40em; }

/* about */
.about .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.about h2 { font-family: var(--sans); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; margin: 0; color: var(--basalt); }
.about .where { font-family: var(--sans); color: var(--muted); font-size: 16px; margin: 18px 0 0; }
.about .text { max-width: 34em; }
.about .text p { margin: 0 0 1.15em; }

/* section headings for repeatable lists (books, projects) */
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 1px solid var(--limestone-2); padding-top: 26px; margin-bottom: 30px; }
.list-head h2 { font-family: var(--sans); font-weight: 700; font-size: 34px; letter-spacing: -.02em; margin: 0; color: var(--basalt); }
.list-head p { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 16px; }

/* books: each book is a band in its own colours (set --b-* per book) */
.books { padding-bottom: 72px; }
.bookband { --b-bg: #0A0A0B; --b-fg: #e8e8e6; --b-muted: #9a9d9d; --b-accent: #D9785A; --b-btn: #C9CCCC;
  background: var(--b-bg); color: var(--b-fg); border-radius: var(--r-panel); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: center; padding: 52px 56px; margin-bottom: 22px; }
.bookband img { border-radius: var(--r-print); box-shadow: 0 24px 54px rgba(0,0,0,.55); transform: rotate(-2deg); }
.bookband .k { font-family: var(--sans); font-size: 15px; color: var(--b-muted); margin: 0 0 10px; }
.bookband h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(38px, 5vw, 58px); line-height: 1; margin: 0 0 8px; color: #fff; }
.bookband .subt { font-family: "Cormorant Garamond", serif; font-size: 22px; color: var(--b-accent); margin: 0 0 22px; }
.bookband .hook { font-size: 18px; color: var(--b-fg); opacity: .85; max-width: 30em; margin: 0 0 28px; }
.bookband .btn.solid { background: var(--b-btn); color: var(--b-bg); }
.bookband .btn.solid:hover { background: #fff; }
.bookband .btn.line { border: 1.5px solid #5b5e62; color: var(--b-fg); }
.bookband .btn.line:hover { border-color: var(--b-btn); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.upnext { font-family: var(--sans); color: var(--muted); font-size: 16px; margin: 0; }

/* projects */
.projects { padding-top: 40px; padding-bottom: 20px; }
.proj { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 6px 0 30px; }
.proj h3 { font-family: var(--sans); font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin: 0; color: var(--lake); }
.proj p { margin: 0; max-width: 34em; }

/* contact */
.contact .wrap { padding-top: 64px; padding-bottom: 100px; }
.contact p { margin: 0 0 20px; color: var(--muted); max-width: 30em; }
.contact a.mail { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 6vw, 64px); line-height: 1.1; color: var(--lake); text-decoration: none; background: linear-gradient(var(--ochre), var(--ochre)) 0 100% / 100% 3px no-repeat; padding-bottom: 4px; }
.contact a.mail:hover { color: var(--lake-deep); }

@media (max-width: 820px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 52px; }
  .books { padding-bottom: 52px; }
  .portrait { max-width: 200px; order: -1; }
  .sbs .wrap { padding-top: 60px; padding-bottom: 64px; }
  .tracks { grid-template-columns: 1fr; gap: 40px; }
  .track { grid-row: auto; grid-template-rows: none; }
  .step p { font-size: 19px; }
  .portrait { box-shadow: 10px 10px 0 -1px var(--paper), 10px 10px 0 0 var(--ochre); }
  .about .wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 60px; padding-bottom: 60px; }
  .list-head { flex-direction: column; gap: 4px; }
  .bookband { grid-template-columns: 1fr; gap: 34px; padding: 34px 24px; }
  .bookband img { max-width: 190px; }
  .proj { grid-template-columns: 1fr; gap: 8px; }
  .contact .wrap { padding-top: 40px; padding-bottom: 70px; }
}

.bookband .notify-label { font-family: var(--sans); font-size: 15px; color: var(--b-muted); margin: 30px 0 10px; padding-top: 22px; border-top: 1px solid #2a2b2e; }
