/*
Theme Name: The Fan's Eye
Theme URI: https://thefanseye.com/
Author: The Fan's Eye
Description: A light, minimal, photography-led WordPress theme for live music stories and reviews.
Version: 1.6.0
Text Domain: the-fans-eye
*/

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --content: 1240px;
  --reading: 760px;
  --gap: clamp(1rem, 2vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus {
  opacity: 0.68;
}

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

.site-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-logo img,
.custom-logo {
  max-height: 48px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  display: block;
}

.hero {
  margin: clamp(1.25rem, 3vw, 2.75rem) auto clamp(2.5rem, 6vw, 5rem);
}

.hero__link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f3f3;
}

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 280ms ease;
}

.hero__link:hover,
.hero__link:focus {
  opacity: 1;
}

.hero__link:hover .hero__image,
.hero__link:focus .hero__image {
  transform: scale(1.012);
}

.hero__meta {
  position: absolute;
  left: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  max-width: 720px;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0,0,0,0.45);
}

.hero__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__details {
  margin: 0.65rem 0 0;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
}

.section-heading {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-intro {
  width: min(calc(100% - 2rem), 680px);
  margin: clamp(3.5rem, 7vw, 6.5rem) auto clamp(4rem, 8vw, 7rem);
}

.home-intro__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-intro__copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.home-intro__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) var(--gap);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.post-card a:hover,
.post-card a:focus {
  opacity: 1;
}

.post-card__image-wrap {
  overflow: hidden;
  background: #f3f3f3;
}

.post-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 250ms ease;
}

.post-card a:hover .post-card__image,
.post-card a:focus .post-card__image {
  transform: scale(1.015);
}

.post-card__title {
  margin: 0.9rem 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.post-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-wrap {
  width: min(calc(100% - 2rem), var(--reading));
  margin: clamp(3rem, 7vw, 6rem) auto;
}

.entry-header {
  margin-bottom: 2.25rem;
}

.entry-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.entry-meta {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.entry-featured-image {
  width: min(calc(100% - 2rem), 1050px);
  margin: 0 auto clamp(2.5rem, 6vw, 5rem);
}

.entry-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.6rem;
  line-height: 1.15;
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.entry-content blockquote {
  margin-left: 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--text);
  font-size: 1.15rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.site-footer__inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.archive-header {
  margin: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}

.reviews-archive .post-grid {
  margin-bottom: 2rem;
}

.pagination {
  margin: 2rem 0 5rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__image {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    position: relative;
    min-height: 76px;
    align-items: center;
  }

  .site-title {
    font-size: 0.88rem;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: block;
    margin: 0;
    padding: 0.55rem 1rem;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.95rem;
  }

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

  .hero__image {
    aspect-ratio: 1 / 1;
  }

  .hero__title {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}


/* Contact */
.contact-page { max-width: 900px; padding-top: clamp(3rem,7vw,6rem); padding-bottom: clamp(4rem,8vw,7rem); }
.contact-header { max-width: 650px; margin-bottom: 3rem; }
.contact-header h1 { margin:0 0 .8rem; font-size:clamp(2.2rem,6vw,5rem); line-height:1; letter-spacing:-.04em; text-transform:uppercase; }
.contact-header p { margin:0; color:var(--muted); font-size:1.05rem; }
.contact-form p { margin:0 0 1.6rem; }
.contact-form__row { display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); }
.contact-form label { display:block; margin-bottom:.45rem; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.contact-form input, .contact-form textarea { width:100%; border:0; border-bottom:1px solid #bdbdbd; border-radius:0; background:transparent; padding:.7rem 0; color:var(--text); font:inherit; outline:none; }
.contact-form textarea { border:1px solid #bdbdbd; padding:1rem; resize:vertical; }
.contact-form input:focus { border-bottom-color:var(--text); }
.contact-form textarea:focus { border-color:var(--text); }
.contact-captcha { margin:0 0 1.6rem; }
.contact-submit { appearance:none; border:1px solid var(--text); background:var(--text); color:#fff; padding:.9rem 1.4rem; font:inherit; font-size:.82rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; }
.contact-submit:hover, .contact-submit:focus { background:#fff; color:var(--text); }
.contact-notice { margin:0 0 2rem; padding:1rem 1.1rem; border:1px solid var(--line); }
.contact-notice--success { border-color:#8ca68c; }
.contact-notice--admin { font-size:.9rem; color:var(--muted); }
.tfe-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
@media (max-width:640px) { .contact-form__row { grid-template-columns:1fr; gap:0; } }
