/* COOL WHITE + ORANGE PIXEL VERSION */

:root{
  --bg: #f4f8fc;        /* cool white with slight blue tint */
  --panel: #ffffff;
  --text: #F45341;      /* dark orange */
  --muted: rgba(244,83,65,0.65);
  --line: rgba(244,83,65,0.25);

  --max: 1100px;
  --radius: 14px;
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
}

body{
  font-family: 'Space Mono', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 18px;        /* increase base size */
  letter-spacing: 0.6px;
}

/* HEADINGS USE JERSEY */
h1, h2, h3, .brand .title{
  font-family: 'Jersey 10', cursive;
  letter-spacing: 1px;
}

/* Links */

a{
  color: var(--text);
  text-decoration: none;
}

a:hover{
  opacity: 0.7;
}

.small{
  font-size: 0.9rem;
  color: var(--muted);
}

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* HEADER */

.site-header{
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 0;
}

.brand{
  display:flex;
  align-items:baseline;
  gap:0.75rem;
}

.brand .title{
  font-size: 1.4rem;
  text-transform: uppercase;
}

.brand .tag{
  font-family: 'Tiny5', monospace;
  font-size: 0.8rem;
  color: var(--muted);
}

/* NAV */

.nav{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  align-items:center;
}

.nav a{
  padding:0.4rem 0.6rem;
  border:1px solid transparent;
  font-size: 0.8rem;
}

.nav a:hover{
  border-color: var(--text);
}

.nav a.active{
  border:1px solid var(--text);
}

/* LOGO SLOT */

.logo-slot{
  width:54px;
  height:54px;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.7rem;
  color:var(--muted);
}

/* MAIN */

main{
  padding:2.5rem 0 3rem;
}

/* PANELS */

.panel{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:1.5rem;
}

/* GRID */

.grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:1.5rem;
}

@media (max-width:820px){
  .grid{ grid-template-columns:1fr; }
}

/* HERO */

.hero h1{
  margin:0 0 0.5rem;
  font-size:2.4rem;
}

.hero p{
  margin:0.5rem 0;
  color:var(--muted);
}

.hero-photo{
  border:1px solid var(--line);
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
}

/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}

@media (max-width:920px){
  .cards{ grid-template-columns:1fr; }
}

.card{
  border:1px solid var(--line);
  padding:1.2rem;
}

.card h3{
  margin:0 0 0.5rem;
}

.card p{
  margin:0 0 1rem;
  color:var(--muted);
}

/* BUTTONS */

.btn{
  display:inline-block;
  padding:0.5rem 0.9rem;
  border:1px solid var(--text);
  font-size:0.8rem;
}

.btn:hover{
  background: var(--text);
  color: var(--bg);
}

/* BLOG POSTS */

.post{
  border:1px solid var(--line);
}

.post + .post{
  margin-top:1rem;
}

.post summary{
  cursor:pointer;
  padding:1rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.post summary::-webkit-details-marker{
  display:none;
}

.post[open] summary{
  border-bottom:1px solid var(--line);
}

.post .content{
  padding:1rem;
}

.post .content p{
  color:var(--muted);
}

/* ABOUT PAGE */

.about-wrap{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:1.5rem;
}

@media (max-width:900px){
  .about-wrap{ grid-template-columns:1fr; }
}

.about-photo{
  border:1px solid var(--line);
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
}

/* FOOTER */

.footer{
  border-top:1px solid var(--line);
  padding:1.5rem 0;
  color:var(--muted);
  font-size:0.8rem;
}