:root{
  --red:#ef2f24;
  --red-dark:#ba1913;
  --cream:#fff7eb;
  --cream-2:#f7efe3;
  --black:#050505;
  --text:#171717;
  --muted:#666;
  --white:#fff;
  --shadow:0 22px 55px rgba(0,0,0,.14);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

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

.hero{
  position:relative;
  min-height:500px;
  display:flex;
  align-items:center;
  padding:110px clamp(18px,6vw,90px) 90px;
  background:
    url("../images/golden-gate-sunset-01.jpg")
    center center / cover no-repeat;
  color:#fff;
}

.overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.82),
      rgba(0,0,0,.32)
    );
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
}

.eyebrow{
  display:inline-block;
  background:var(--red);
  color:#fff;
  border-radius:999px;
  padding:7px 13px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:18px;
}

.hero h1{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(44px,6vw,78px);
  line-height:.96;
  letter-spacing:-.04em;
  margin:0 0 22px;
}

.hero p{
  font-size:18px;
  max-width:700px;
  color:#f1f1f1;
  margin:0;
}

/* =========================================
   FEATURED ARTICLE
========================================= */

.featured-post{
  padding:82px clamp(18px,6vw,90px);
  background:#fff;
}

.featured-card{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  max-width:1180px;
  margin:0 auto;
  border:1px solid #eee;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 44px rgba(0,0,0,.08);
  background:#fff;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.featured-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 55px rgba(0,0,0,.12);
}

.featured-image{
  min-height:380px;
}

.featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.featured-content{
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.featured-label{
  display:inline-block;
  color:var(--red);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:12px;
}

.featured-content h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(32px,4vw,46px);
  line-height:1.02;
  letter-spacing:-.03em;
  margin:0 0 18px;
}

.featured-content p{
  color:#555;
  font-size:16px;
  margin:0 0 22px;
}

.read-more{
  color:var(--red);
  font-weight:900;
}

/* =========================================
   BLOG INTRODUCTION
========================================= */

.blog-intro{
  max-width:850px;
  margin:0 auto;
  padding:20px 18px 65px;
  text-align:center;
}

.blog-intro .eyebrow{
  margin-bottom:16px;
}

.blog-intro h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(34px,4vw,54px);
  line-height:1.03;
  letter-spacing:-.03em;
  margin:0 0 18px;
}

.blog-intro p{
  color:#666;
  font-size:17px;
  max-width:760px;
  margin:0 auto;
}

/* =========================================
   BLOG GRID
========================================= */

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  max-width:1320px;
  margin:0 auto;
  padding:0 clamp(18px,6vw,90px) 90px;
}

.blog-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #eee;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.06);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.blog-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 42px rgba(0,0,0,.11);
}

.blog-card > a{
  display:block;
  overflow:hidden;
}

.blog-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:transform .35s ease;
}

.blog-card:hover img{
  transform:scale(1.04);
}

.blog-card-content{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:24px;
}

.blog-category{
  display:inline-block;
  color:var(--red);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.blog-card-content h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:25px;
  line-height:1.08;
  letter-spacing:-.02em;
  margin:0 0 12px;
}

.blog-card-content h2 a:hover{
  color:var(--red);
}

.blog-card-content p{
  color:#666;
  font-size:14px;
  margin:0 0 18px;
}

.blog-card-content .read-more{
  display:inline-block;
  margin-top:auto;
  color:var(--red);
  font-weight:900;
  font-size:14px;
}

/* =========================================
   FINAL BLOG CTA
========================================= */

.blog-cta{
  position:relative;
  padding:90px clamp(18px,6vw,90px);
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.84),
      rgba(0,0,0,.48)
    ),
    url("../images/san-francisco-skyline-01.jpg")
    center center / cover no-repeat;
  color:#fff;
  text-align:center;
}

.blog-cta > div{
  max-width:820px;
  margin:0 auto;
}

.blog-cta h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(36px,5vw,60px);
  line-height:1;
  letter-spacing:-.04em;
  margin:0 0 20px;
}

.blog-cta p{
  max-width:720px;
  margin:0 auto 28px;
  color:#eee;
  font-size:17px;
}

.blog-cta-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}

.primary-btn,
.secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:13px 22px;
  font-size:13px;
  font-weight:900;
  transition:.25s;
}

.primary-btn{
  background:var(--red);
  color:#fff;
  box-shadow:0 10px 25px rgba(239,47,36,.3);
}

.primary-btn:hover{
  background:var(--red-dark);
  transform:translateY(-2px);
}

.secondary-btn{
  background:#fff;
  color:#111;
}

.secondary-btn:hover{
  background:var(--cream);
  transform:translateY(-2px);
}

/* =========================================
   FOOTER
========================================= */

.site-footer{
  background:#050505;
  color:#fff;
  padding:64px clamp(18px,6vw,90px) 26px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:34px;
}

.site-footer p,
.site-footer a{
  display:block;
  color:#aaa;
  font-size:14px;
  margin:8px 0;
}

.site-footer h4{
  margin:0 0 12px;
  color:#fff;
}

.site-footer a:hover{
  color:#fff;
}

.site-footer .footer-brand{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  color:#fff;
  width:fit-content;
  margin-bottom:18px;
  line-height:1;
}

.site-footer .footer-brand .brand-logo{
  width:76px;
  height:76px;
  object-fit:contain;
  flex:0 0 76px;
}

.site-footer .footer-brand .brand-text{
  display:block;
  font-size:22px;
  font-weight:900;
  line-height:.95;
  letter-spacing:-.6px;
  color:#fff;
  white-space:nowrap;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:42px;
  padding-top:22px;
  color:#777;
  font-size:12px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:980px){

  .featured-card{
    grid-template-columns:1fr;
  }

  .featured-image{
    min-height:300px;
  }

  .blog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:700px){

  .hero{
    min-height:440px;
    padding:90px 18px 70px;
  }

  .hero h1{
    font-size:43px;
  }

  .hero p{
    font-size:16px;
  }

  .featured-post{
    padding:56px 18px;
  }

  .featured-content{
    padding:28px;
  }

  .blog-intro{
    padding:10px 18px 50px;
  }

  .blog-grid{
    grid-template-columns:1fr;
    padding:0 18px 70px;
  }

  .blog-card img{
    height:230px;
  }

  .blog-cta{
    padding:70px 18px;
  }

  .blog-cta-actions{
    display:grid;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    display:block;
  }

  .site-footer .footer-brand{
    gap:12px;
  }

  .site-footer .footer-brand .brand-logo{
    width:64px;
    height:64px;
    flex-basis:64px;
  }

  .site-footer .footer-brand .brand-text{
    font-size:19px;
  }
}