/* =====================================================
   WHO MADE YOU JUDGE?
   Bradley Hobbs
   Part 1
===================================================== */

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

:root{

--background:#f8f5f1;
--white:#ffffff;

--navy:#1f2c38;

--gold:#c5a25d;

--gold-dark:#b68e43;

--text:#444;

--heading:#1f2c38;

--light:#ece8e2;

--shadow:0 18px 40px rgba(0,0,0,.08);

--radius:18px;

--transition:.35s ease;

--max-width:1200px;

}

html{

scroll-behavior:smooth;

}

body{

background:var(--background);

font-family:"Inter",sans-serif;

font-size:17px;

line-height:1.8;

color:var(--text);

overflow-x:hidden;

}

img{

max-width:100%;

display:block;

}

a{

text-decoration:none;

transition:var(--transition);

}

.container{

width:min(92%,var(--max-width));

margin:auto;

}

.narrow{

max-width:760px;

}

/* ==========================
TYPOGRAPHY
========================== */

h1,
h2,
h3,
.logo{

font-family:"Cormorant Garamond",serif;

color:var(--heading);

line-height:1.1;

}

h1{

font-size:72px;

font-weight:700;

margin-bottom:20px;

}

h2{

font-size:48px;

margin-bottom:16px;

}

h3{

font-size:30px;

margin-bottom:12px;

}

p{

margin-bottom:24px;

}

.section-header{

text-align:center;

margin-bottom:70px;

}

.gold-line{

width:90px;

height:4px;

background:var(--gold);

margin:22px auto 0;

border-radius:50px;

}

/* ==========================
HEADER
========================== */

.site-header{

position:sticky;

top:0;

z-index:999;

background:rgba(255,255,255,.95);

backdrop-filter:blur(18px);

box-shadow:0 6px 20px rgba(0,0,0,.05);

}

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:22px 0;

}

.logo{

font-size:34px;

font-weight:700;

color:var(--heading);

}

.nav-links{

display:flex;

gap:34px;

list-style:none;

}

.nav-links a{

font-size:15px;

font-weight:600;

letter-spacing:.05em;

text-transform:uppercase;

color:var(--heading);

position:relative;

}

.nav-links a::after{

content:"";

position:absolute;

left:0;

bottom:-7px;

height:2px;

width:0;

background:var(--gold);

transition:.3s;

}

.nav-links a:hover::after{

width:100%;

}

/* ==========================
BUTTONS
========================== */

.primary-button{

display:inline-block;

padding:16px 34px;

background:var(--gold);

color:white;

font-weight:600;

border-radius:999px;

box-shadow:var(--shadow);

transition:var(--transition);

}

.primary-button:hover{

background:var(--gold-dark);

transform:translateY(-3px);

}

.secondary-button{

display:inline-block;

padding:15px 32px;

border:2px solid var(--gold);

border-radius:999px;

color:var(--gold-dark);

font-weight:600;

margin-left:14px;

transition:var(--transition);

}

.secondary-button:hover{

background:var(--gold);

color:white;

}

/* ==========================
HERO
========================== */

.hero{
padding:0;
margin:0;
line-height:0;
background:var(--background);
}
.hero-banner{
display:block;
width:100%;
height:auto;
object-fit:cover;
}

.hero{
margin-bottom:90px;
}

/* ==========================
WELCOME
========================== */

.welcome-section{

padding:120px 0;

text-align:center;

}

.welcome-section p{

font-size:19px;

}

/* ==========================
ABOUT BOOK
========================== */

.book-section{

padding:120px 0;

}

.book-grid{
display:grid;
grid-template-columns:380px 1fr;
gap:80px;
align-items:center;
}
.book-cover img{
width:100%;
border-radius:18px;
box-shadow:
0 25px 55px rgba(0,0,0,.15);
}
.book-content{
font-size:18px;
line-height:1.9;
}

.book-actions{

margin-top:36px;

}

.section-tag{
display:inline-block;
margin-bottom:18px;
letter-spacing:.25em;
text-transform:uppercase;
font-size:13px;
font-weight:600;
color:var(--gold);
}

.quote-section{
padding:120px 0;
background:white;
text-align:center;
}
.quote-section blockquote{
max-width:760px;
margin:auto;
font-family:"Cormorant Garamond",serif;
font-size:42px;
line-height:1.5;
color:var(--navy);
font-style:italic;
}

.reading-section{
padding:130px 0;
text-align:center;
background:
linear-gradient(
180deg,
var(--background),
white
);
}
.reading-buttons{
margin-top:40px;
}

/* ==========================================
SECTION INTRODUCTION
========================================== */
.section-intro{
max-width:760px;
margin:0 auto 60px;
text-align:center;
font-size:20px;
line-height:1.9;
color:var(--text);
font-weight:400;
}
.section-intro em{
font-family:"Cormorant Garamond",serif;
font-size:22px;
font-style:italic;
color:var(--heading);
}
@media(max-width:768px){
.section-intro{
font-size:18px;
margin-bottom:45px;
}
.section-intro em{
font-size:20px;
}
}



/* ==========================
DISCOVER
========================== */

.discover-section{

padding:120px 0;

background:white;

}

.theme-grid{

display:grid;

grid-template-columns:

repeat(auto-fit,minmax(260px,1fr));

gap:34px;

}

.theme-card{

background:var(--background);

padding:40px;

border-radius:18px;

box-shadow:var(--shadow);

transition:.35s;

}

.theme-card:hover{

transform:translateY(-10px);

}

.theme-card h3{

margin-bottom:18px;

}

.theme-card p{

margin-bottom:0;

}

/* ==========================================
PURPOSE SECTION
========================================== */
.purpose-section{
padding:120px 0;
background:linear-gradient(
180deg,
#ffffff,
#f8f5f1
);
}
.purpose-section .narrow{
text-align:center;
}
.purpose-section p{
font-size:19px;
color:var(--text);
}
/* ==========================================
AUTHOR
========================================== */
.author-section{
padding:120px 0;
background:var(--white);
}
.author-grid{
display:grid;
grid-template-columns:360px 1fr;
gap:70px;
align-items:center;
}
.author-image{
overflow:hidden;
border-radius:20px;
box-shadow:var(--shadow);
}
.author-image img{
width:100%;
transition:.5s;
}
.author-image:hover img{
transform:scale(1.04);
}
.author-content{
font-size:18px;
}
/* ==========================================
RESOURCES
========================================== */
.resources-section{
padding:120px 0;
background:var(--background);
}
.resource-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(300px,1fr));
gap:35px;
}
.resource-card{
background:white;
padding:42px;
border-radius:20px;
box-shadow:var(--shadow);
transition:.35s;
}
.resource-card:hover{
transform:translateY(-10px);
}
.resource-card h3{
margin-bottom:18px;
}
.resource-card p{
margin-bottom:24px;
}
.text-link{
font-weight:600;
color:var(--gold-dark);
}
.text-link:hover{
color:var(--heading);
}
/* ==========================================
CALLOUT
========================================== */
.callout-section{
padding:140px 0;
text-align:center;
background:
linear-gradient(
135deg,
var(--navy),
#273847
);
color:white;
}
.callout-section h2{
color:white;
}
.callout-section p{
font-size:20px;
max-width:720px;
margin:auto;
margin-bottom:45px;
color:#ececec;
}
.callout-section .gold-line{
margin-bottom:35px;
}
/* ==========================================
CONTACT
========================================== */
.contact-section{
padding:120px 0;
text-align:center;
background:white;
}
.contact-text{
font-size:20px;
max-width:700px;
margin:auto;
margin-bottom:40px;
}
.contact-button{
display:inline-block;
padding:18px 42px;
background:var(--navy);
color:white;
border-radius:999px;
font-weight:600;
transition:.35s;
box-shadow:var(--shadow);
}
.contact-button:hover{
background:var(--gold);
transform:translateY(-3px);
}

/* ==========================================
FOOTER
========================================== */
footer{
background:#18222d;
color:#d6d6d6;
padding:90px 0 50px;
margin-top:120px;
}
.footer-content{
max-width:900px;
margin:auto;
text-align:center;
}
footer h3{
font-family:"Cormorant Garamond",serif;
font-size:46px;
font-weight:600;
color:white;
margin-bottom:10px;
}
.footer-tagline{
font-size:18px;
font-style:italic;
opacity:.9;
margin-bottom:25px;
}
.footer-divider{
width:90px;
height:3px;
background:var(--gold);
margin:35px auto 45px;
border-radius:50px;
}
.footer-links{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:28px;
margin-bottom:55px;
}
.footer-links a{
color:#f2f2f2;
font-size:14px;
font-weight:500;
letter-spacing:.08em;
text-transform:uppercase;
transition:.3s ease;
}
.footer-links a:hover{
color:var(--gold);
}
footer p{
font-size:15px;
line-height:1.8;
opacity:.8;
margin-bottom:10px;
}
.copyright{
padding-top:30px;

border-top:1px solid rgba(255,255,255,.08);

margin-top:20px;
}

.footer-scripture{

margin-top:20px;

font-family:"Cormorant Garamond",serif;

font-size:22px;

font-style:italic;

color:#d8c08a;

}

/* ==========================================
GENERAL SECTION SPACING
========================================== */
section{
scroll-margin-top:110px;
}
/* ==========================================
ANIMATIONS
========================================== */
.theme-card,
.resource-card,
.book-cover,
.author-image{
transition:
transform .35s ease,
box-shadow .35s ease;
}
.theme-card:hover,
.resource-card:hover,
.book-cover:hover,
.author-image:hover{
box-shadow:
0 28px 55px rgba(0,0,0,.14);
}
/* ==========================================
TABLET
========================================== */
@media(max-width:992px){
h1{
font-size:58px;
}
h2{
font-size:40px;
}
.book-grid{
grid-template-columns:1fr;
text-align:center;
}
.author-grid{
grid-template-columns:1fr;
text-align:center;
}
.book-cover{
max-width:360px;
margin:auto;
}
.author-image{
max-width:360px;
margin:auto;
}
.hero{
min-height:620px;
}
}
/* ==========================================
MOBILE
========================================== */
@media(max-width:768px){
.navbar{
flex-direction:column;
gap:22px;
}
.nav-links{
flex-wrap:wrap;
justify-content:center;
gap:18px;
}
.hero{
height:auto;
min-height:650px;
}
.hero-content{
text-align:center;
padding:140px 0 80px;
}
.hero-content h1{
font-size:46px;
}
.hero-content h2{
font-size:28px;
}
.hero-text{
font-size:18px;
}
.primary-button,
.secondary-button{
display:block;
width:100%;
margin:14px 0;
text-align:center;
}
.section-header{
margin-bottom:50px;
}
.book-section,
.discover-section,
.author-section,
.resources-section,
.contact-section,
.purpose-section{
padding:80px 0;
}
.theme-grid,
.resource-grid{
grid-template-columns:1fr;
}
}
/* ==========================================
SMALL DEVICES
========================================== */
@media(max-width:480px){
body{
font-size:16px;
}
h1{
font-size:38px;
}
h2{
font-size:32px;
}
.logo{
font-size:28px;
}
.hero-content{
padding-top:120px;
}
.hero-text{
font-size:17px;
}
.contact-button{
width:100%;
}
}
/* ==========================================
SCROLLBAR
========================================== */
::-webkit-scrollbar{
width:10px;
}
::-webkit-scrollbar-track{
background:#ece8e2;
}
::-webkit-scrollbar-thumb{
background:var(--gold);
border-radius:20px;
}
::-webkit-scrollbar-thumb:hover{
background:var(--gold-dark);
}
/* ==========================================
TEXT SELECTION
========================================== */
::selection{
background:var(--gold);
color:var(--navy);
}

/* ==========================================
PAGE HEADER
========================================== */
.page-header{
padding:110px 0 70px;
text-align:center;
background:linear-gradient(
180deg,
#ffffff,
var(--background)
);
}
.page-header h1{
margin-bottom:20px;
}
.reading-note{
max-width:720px;
margin:0 auto 70px;
padding:35px;
background:#ffffff;
border-left:5px solid var(--gold);
border-radius:16px;
box-shadow:var(--shadow);
text-align:center;
}
.reading-note h2{
font-size:34px;
margin-bottom:15px;
}
.reading-note p{
margin:0;
font-size:18px;
line-height:1.8;
}
/* ==========================================
TABLE OF CONTENTS
========================================== */
.contents-section{
padding:100px 0;
}
.contents-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}
/* ==========================================
CHAPTER CARD
========================================== */
.chapter-card{
background:#ffffff;
border-radius:18px;
padding:35px;
box-shadow:var(--shadow);
transition:.35s ease;
height:100%;
}
.chapter-card:hover{
transform:translateY(-8px);
box-shadow:
0 25px 55px rgba(0,0,0,.12);
}
.chapter-card a{
display:block;
height:100%;
color:inherit;
}
.chapter-number{
display:inline-block;
margin-bottom:18px;
padding:8px 16px;
background:rgba(197,162,93,.12);
color:var(--gold-dark);
font-size:13px;
font-weight:700;
letter-spacing:.08em;
text-transform:uppercase;
border-radius:999px;
}
.chapter-card h3{
margin-bottom:16px;
font-size:30px;
line-height:1.2;
}
.chapter-card p{
margin-bottom:30px;
font-size:17px;
line-height:1.8;
color:var(--text);
}
.chapter-link{
display:inline-block;
font-weight:600;
color:var(--gold-dark);
transition:.3s;
}
.chapter-card:hover .chapter-link{
padding-left:6px;
}
/* ==========================================
READING SECTION
========================================== */
.reading-section{
padding:120px 0;
text-align:center;
background:linear-gradient(
180deg,
var(--background),
#ffffff
);
}
.reading-section p{
max-width:760px;
margin:0 auto 40px;
font-size:19px;
line-height:1.9;
}
/* ==========================================
RESPONSIVE
========================================== */
@media(max-width:768px){
.contents-grid{
grid-template-columns:1fr;
}
.chapter-card{
padding:30px;
}
.page-header{
padding:80px 0 60px;
}
.page-header h1{
font-size:46px;
}
.reading-note{
padding:25px;
}
}

/* ==========================================
MANUSCRIPT PAGE
========================================== */
.chapter-header{
padding:100px 0 60px;
text-align:center;
background:linear-gradient(
180deg,
#ffffff,
var(--background)
);
}
.chapter-label{
display:inline-block;
margin-bottom:18px;
padding:8px 18px;
border-radius:999px;
background:rgba(197,162,93,.12);
color:var(--gold-dark);
font-size:13px;
font-weight:600;
letter-spacing:.1em;
text-transform:uppercase;
}
.chapter-header h1{
margin-bottom:12px;
}
.chapter-header h2{
font-size:32px;
font-weight:500;
margin-bottom:30px;
}
.reading-time{
margin-top:30px;
font-size:15px;
letter-spacing:.08em;
text-transform:uppercase;
color:#777;
}
.manuscript{
max-width:760px;
margin:auto;
padding:90px 0 120px;
}
.manuscript p{

text-align:left;

max-width:70ch;

margin-left:auto;

margin-right:auto;

}
.drop-cap::first-letter{
float:left;
font-family:"Cormorant Garamond",serif;
font-size:82px;
line-height:.8;
padding-right:10px;
padding-top:10px;
color:var(--gold);
font-weight:700;
}
.center-quote{
margin:70px 0;
text-align:center;
font-family:"Cormorant Garamond",serif;
font-size:42px;
font-style:italic;
font-weight:600;
color:var(--heading);
line-height:1.4;
}
.chapter-ending{
text-align:center;
margin:90px 0 60px;
}
.chapter-ending p{
margin-top:20px;
font-style:italic;
font-size:18px;
color:#777;
text-align:center;
}
.chapter-navigation{
display:flex;
justify-content:center;
align-items:center;
gap:24px;
margin-top:60px;
}

.chapter-navigation a{
flex:1;
max-width:260px;
text-align:center;
}



@media(max-width:768px){
.manuscript{
padding:70px 0;
}
.manuscript p{
font-size:18px;
text-align:left;
}
.center-quote{
font-size:34px;
}

.chapter-navigation{
flex-direction:column;
}

.chapter-navigation a{
width:100%;
max-width:100%;
}

}

/* ==========================================
CHAPTER PROGRESS
========================================== */

.chapter-progress{
max-width:320px;
margin:35px auto 0;
}

.chapter-progress span{
display:block;
margin-bottom:12px;
font-size:13px;
font-weight:600;
letter-spacing:.12em;
text-transform:uppercase;
color:#777;
}

.progress-bar{
height:6px;
background:#e6e1da;
border-radius:999px;
overflow:hidden;
}

.progress-fill{
height:100%;
background:var(--gold);
border-radius:999px;
}

/* ==========================================
READING PROGRESS
========================================== */

.progress-fill.introduction{width:0%;}

.progress-fill.chapter1{width:4%;}
.progress-fill.chapter2{width:8%;}
.progress-fill.chapter3{width:12%;}
.progress-fill.chapter4{width:16%;}
.progress-fill.chapter5{width:20%;}
.progress-fill.chapter6{width:24%;}
.progress-fill.chapter7{width:28%;}
.progress-fill.chapter8{width:32%;}
.progress-fill.chapter9{width:36%;}
.progress-fill.chapter10{width:40%;}
.progress-fill.chapter11{width:44%;}
.progress-fill.chapter12{width:48%;}
.progress-fill.chapter13{width:52%;}
.progress-fill.chapter14{width:56%;}
.progress-fill.chapter15{width:60%;}
.progress-fill.chapter16{width:64%;}
.progress-fill.chapter17{width:68%;}
.progress-fill.chapter18{width:72%;}
.progress-fill.chapter19{width:76%;}
.progress-fill.chapter20{width:80%;}
.progress-fill.chapter21{width:84%;}
.progress-fill.chapter22{width:88%;}
.progress-fill.chapter23{width:92%;}
.progress-fill.chapter24{width:96%;}
.progress-fill.chapter25{width:100%;}

.resource-list{
max-width:700px;
margin:35px auto;
padding-left:28px;
}

.resource-list li{
margin-bottom:14px;
font-size:19px;
line-height:1.8;
color:var(--text);
}

.manuscript h2{
font-size:42px;
text-align:center;
margin:70px 0 35px;
}

.manuscript hr{
border:none;
height:2px;
width:90px;
background:var(--gold);
margin:70px auto;
opacity:.55;
}

.nav-links a.active{
color:var(--gold-dark);
}

.nav-links a.active::after{
width:100%;
}

a:focus-visible,
button:focus-visible{

outline:3px solid var(--gold);

outline-offset:4px;

border-radius:8px;

}

/* ==========================================
RESOURCE LINKS
========================================== */

.resource-list{

list-style:none;

padding:0;

margin:35px 0;

}

.resource-list li{

margin-bottom:18px;

font-size:19px;

line-height:1.8;

}

.resource-list a{

color:var(--gold-dark);

font-weight:600;

text-decoration:none;

transition:.3s ease;

border-bottom:1px solid transparent;

}

.resource-list a:hover{

color:var(--rose);

border-bottom:1px solid var(--rose);

}

.resource-list a:visited{

color:var(--gold-dark);

}

.resource-list a:focus{

outline:2px solid var(--gold);

outline-offset:4px;

border-radius:4px;

}

/* ==========================================
RESOURCE LINKS
========================================== */

.resource-list a{

color:var(--gold-dark);

font-weight:600;

text-decoration:none;

border-bottom:1px solid transparent;

transition:all .3s ease;

}

.resource-list a:hover{

color:var(--gold);

border-bottom:1px solid var(--gold);

}

.resource-list a:visited{

color:var(--gold-dark);

}

.resource-list a:focus-visible{

outline:3px solid var(--gold);

outline-offset:4px;

border-radius:4px;

}

.resource-note{

text-align:center;

max-width:650px;

margin:0 auto 35px;

font-style:italic;

color:#666;

}

.manuscript > p > a{

display:inline-block;

margin-top:8px;

padding:12px 24px;

background:var(--gold);

color:#fff;

border-radius:999px;

font-weight:600;

text-decoration:none;

transition:.3s ease;

}

.manuscript > p > a:hover{

background:var(--gold-dark);

transform:translateY(-2px);

}
