/* ============================================================
   HALF FRAME CLUB — Shared Stylesheet
   halfframeclub.com
   ============================================================ */

/* VARIABLES */
:root {
  --gold: #E8A020;
  --teal: #1A9E9E;
  --black: #0a0a0a;
  --bg: #FDFCFA;
  --text: #1a1a1a;
  --mid: #F0EDE6;
  --border: rgba(26,26,26,0.12);
  --border-gold: rgba(232,160,32,0.4);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* BASE */
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(253,252,250,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 6px solid var(--black); box-shadow: 0 6px 0 #E8A020;
  min-height: 60px;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  display: block;
  opacity: 0.9;
}

/* Centered nav links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a.active { opacity: 1; color: var(--teal); }
.nav-links a.shop { color: var(--gold); opacity: 0.9; }

/* Right side nav link */
.nav-right {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-right:hover { opacity: 1; }

@media (max-width: 900px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  display: block;
}

h1, .page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 0.75rem;
}
h1 em, .page-title em { font-style: italic; color: var(--gold); }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--black);
}

p { font-size: 16px; line-height: 1.9; opacity: 0.8; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--gold); color: var(--black); }

.btn-teal {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-teal:hover { background: var(--teal); color: #fff; }

.btn-ghost {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s, color 0.2s;
}
.btn-ghost:hover { opacity: 1; color: var(--teal); }

/* ============================================================
   PAGE HEADERS
   ============================================================ */
.page-header {
  padding: 5.5rem 3rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
}
.page-sub {
  font-size: 16px;
  opacity: 0.55;
  line-height: 1.85;
  max-width: 540px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 3.5rem 3rem;
  border-bottom: 0.5px solid var(--border);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: 15px;
  opacity: 0.55;
  max-width: 500px;
  line-height: 1.8;
}
.section-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  opacity: 0.75;
  white-space: nowrap;
  margin-left: 2rem;
}
.section-link:hover { opacity: 1; }

@media (max-width: 900px) {
  section { padding: 3rem 1.5rem; }
  .page-header { padding: 5rem 1.5rem 2rem; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto-body {
  max-width: 680px;
}
.manifesto-body p {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.8;
  margin-bottom: 1.25rem;
}
.manifesto-signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--teal);
  opacity: 1 !important;
  margin-top: 1.5rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  border: 0.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-gold); }
.card-img {
  height: 200px;
  background: var(--mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid var(--border);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  display: block;
}
.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  color: var(--black);
}
.card p { font-size: 14px; line-height: 1.75; opacity: 0.55; margin: 0; }

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

/* ============================================================
   IMAGE GRIDS
   ============================================================ */
.img-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 2.5rem 0;
}
.img-slot {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

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

/* ============================================================
   REVIEW PAGES
   ============================================================ */
.hero-photo {
  height: 360px;
  overflow: hidden;
  border-bottom: 0.5px solid var(--border);
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
}

.specs-bar {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  flex-wrap: wrap;
}
.spec-item { display: flex; flex-direction: column; gap: 0.2rem; }
.spec-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.4; }
.spec-value { font-size: 13px; font-weight: 500; color: var(--black); }

.article { max-width: 720px; margin: 0 auto; padding: 3.5rem 3rem; }
.article-section { margin-bottom: 2.5rem; }
.article-section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 6px solid var(--black); box-shadow: 0 6px 0 #E8A020;
}

.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.verdict-item { background: var(--bg); padding: 1.25rem 1.5rem; }
.verdict-q {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.verdict-a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
}
.verdict-note { font-size: 13px; opacity: 0.55; margin-top: 0.3rem; line-height: 1.6; }

.affiliate-box {
  border: 0.5px solid var(--border-gold);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(232,160,32,0.03);
}
.affiliate-box-text { font-size: 14px; opacity: 0.6; line-height: 1.7; }
.affiliate-box-text strong {
  color: var(--black);
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 15px;
}

@media (max-width: 768px) {
  .verdict-grid { grid-template-columns: 1fr; }
  .affiliate-box { flex-direction: column; align-items: flex-start; }
  .article { padding: 2.5rem 1.5rem; }
}

/* ============================================================
   FILM GUIDE PAGES
   ============================================================ */
.film-entry {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 0.5px solid var(--border);
}
.film-entry:last-of-type { border-bottom: none; }
.medal-bar { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.medal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
}
.medal.gold { background: rgba(232,160,32,0.12); color: var(--gold); border: 0.5px solid var(--gold); }
.medal.silver { background: rgba(26,26,26,0.06); color: var(--text); border: 0.5px solid rgba(26,26,26,0.2); }
.medal.bronze { background: rgba(26,158,158,0.08); color: var(--teal); border: 0.5px solid rgba(26,158,158,0.3); }
.film-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--black);
}
.film-rank { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.4; margin-bottom: 0.2rem; }
.film-specs { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.film-spec { font-size: 11px; opacity: 0.45; }
.film-spec span { color: var(--teal); font-weight: 500; }
.film-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 2rem 0;
}
.film-img-slot {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.film-img-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.buy-link {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  background: transparent;
  transition: background 0.25s, color 0.25s;
}
.buy-link:hover { background: var(--gold); color: var(--black); }

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

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 1.75rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1A9E9E;
  border-top: 9px solid #E8A020;
}
.footer-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8A020;
  text-decoration: none;
  opacity: 1;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 900px) {
  footer {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    padding: 1.75rem 1.5rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ============================================================
   TEAL ACCENTS
   ============================================================ */

/* Section top border */
section {
  border-top: 2px solid var(--teal);
}

/* Active nav underline */
.nav-links a.active {
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 2px;
}

/* Pullquote left bar */
blockquote, .pullquote {
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--black);
  opacity: 0.75;
  margin: 2rem 0;
}

/* Section label teal bar */
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  margin-right: 8px;
  vertical-align: middle;
  margin-bottom: 2px;
}

/* Card tag teal dot */
.card-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  margin-bottom: 1px;
}

/* Page header bottom accent */
.page-header {
  border-bottom: 0.5px solid var(--border);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3rem;
  width: 60px;
  height: 2px;
  background: var(--teal);
}

/* Film box badge */
.film-box-badge {
  float: right;
  margin: 0 0 1.5rem 2rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mid);
  border: 0.5px solid var(--border);
  padding: 8px;
}
.film-box-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
