@charset "UTF-8";
/* ============================================
   noam.com — main stylesheet
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500&display=swap");
/* --- Variables --- */
:root {
  --accent: #6700fa;
  --accent-dim: #6700fa22;
  --black: #0e0e0e;
  --off-black: #1a1a1a;
  --mid: #666;
  --faint: #aaa;
  --border: #e4e4e4;
  --bg: #fff;
  --bg-alt: #f8f7f5;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  /*  --max-w:        740px;  */
  --max-w: 1200px;
  --transition: 0.18s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--bg);
  line-height: 1.7;
}

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

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

/* --- Layout --- */
.site-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 10px;
  border-bottom: 1.5px solid var(--black);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 18.4px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Hamburger button — hidden on wide screens */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Animate to X when open */
.nav-hamburger[aria-expanded=true] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 600px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1.5px solid var(--black);
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    z-index: 100;
  }
  .nav-links.nav-open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 10px 24px;
  }
  /* Make the nav a positioning context for the dropdown */
  .site-nav {
    position: relative;
    flex-wrap: wrap;
  }
}
/* --- Hero --- */
.hero {
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 68px;
  align-items: center;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-image {
    display: none;
  }
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 22px;
  color: var(--black);
}

.hero-sub {
  font-size: 18px;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border-radius: 6px;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  opacity: 0.85;
}

/* --- Sections --- */
.home-section {
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
}

.section-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.section-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-heading a {
  color: inherit;
  text-decoration: none;
}

.section-heading a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-desc {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.65;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 18px;
  transition: gap var(--transition);
}

.section-more:hover {
  gap: 10px;
}

/* --- Card Grids --- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .card-grid-3, .card-grid-2 {
    grid-template-columns: 1fr;
  }
}
/* --- Photo Card --- */
.photo-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.photo-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.photo-card-body {
  padding: 12px 14px 14px;
  background: var(--bg);
}

.card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--black);
}

.card-meta {
  font-size: 12px;
  color: var(--faint);
  margin-top: 4px;
}

/* --- Poker Block --- */
.poker-block {
  background: #e8f2ec;
  border: 1px solid #c8ddd0;
  border-radius: 12px;
  padding: 24px;
  color: var(--black);
}

.poker-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.poker-stat-card {
  background: #fff;
  border: 1px solid #c8ddd0;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.poker-stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}

.poker-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}

.poker-results-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
  border-top: 1px solid #c8ddd0;
  padding-top: 18px;
}

.poker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #c8ddd0;
  font-size: 13px;
  color: var(--off-black);
}

.poker-row:last-child {
  border: none;
}

.poker-row-event {
  color: var(--black);
  font-weight: 500;
}

.poker-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: #a060ff;
}

/* --- About Hero (photo + block side-by-side) --- */
.about-hero {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-right: 16px;
}

.about-photo {
  width: 340px;
  max-width: 100%;
  border-radius: 8px;
  flex-shrink: 0;
}

.about-hero .about-block {
  flex: 1;
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .about-hero {
    flex-direction: column;
    padding-right: 0;
  }
  .about-photo {
    width: 100%;
    max-width: 340px;
  }
}
/* --- About Block --- */
.about-block {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid var(--border);
}

.about-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.about-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.about-bio {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

.about-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.about-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(103, 0, 250, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  transition: background var(--transition);
}

.about-link:hover {
  background: var(--accent-dim);
}

/* --- Footer --- */
.site-footer {
  margin-top: 64px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--faint);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--faint);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* --- Inner page --- */
.page-header {
  padding: 26px 0 0px;
  margin-bottom: 40px;
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.page-desc {
  font-size: 16px;
  color: var(--mid);
  margin-top: 12px;
  max-width: 480px;
  line-height: 1.6;
}

/* --- Post content --- */
.post-wrap {
  padding: 48px 0 64px;
}

.post-header {
  margin-bottom: 36px;
}

.post-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 13px;
  color: var(--faint);
}

.post-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  background: var(--bg-alt);
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--off-black);
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 2.5rem 0 1rem;
  color: var(--black);
}

.post-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
}

.post-content p {
  margin-bottom: 1.4rem;
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content ul, .post-content ol {
  margin: 0 0 1.4rem 1.5rem;
}

.post-content li {
  margin-bottom: 0.4rem;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  color: var(--mid);
  font-style: italic;
  margin: 1.5rem 0;
}

.post-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
  width: 100%;
}

/* --- Back link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 32px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--accent);
}

/* --- Section index grid --- */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.index-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.index-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.index-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.index-card-body {
  padding: 12px 14px 16px;
}

/*# sourceMappingURL=main.css.map */