/* ============================================
   FIELD NOTES — editorial styles
   ============================================ */

.fn-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #EDEAE3;
  color: #111;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navigation ---- */
.fn-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.5rem, 5vw, 6rem);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: #EDEAE3;
  position: sticky;
  top: 0;
  z-index: 100;
}

.fn-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.fn-nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fn-nav-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.fn-nav-tagline {
  font-size: 0.58rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.fn-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fn-nav-section {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.fn-nav-section:hover { color: #555; }

.fn-nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: #111;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.fn-nav-cta:hover { background: #333; }

/* ---- Index hero ---- */
.fn-index-header {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 6rem) clamp(2rem, 5vw, 4rem);
  max-width: 820px;
}

.fn-section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #0BB4C0;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.fn-diamond { margin-right: 0.25rem; }

.fn-index-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-weight: 800;
}

.fn-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.fn-index-sub {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* ---- Article card grid ---- */
.fn-index-main {
  padding: 0 clamp(1.5rem, 5vw, 6rem) 4rem;
}

.fn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
}

.fn-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.fn-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fn-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.fn-category--guide    { background: #dbeafe; color: #1d4ed8; }
.fn-category--data     { background: #dcfce7; color: #166534; }
.fn-category--reading  { background: #fef3c7; color: #92400e; }
.fn-category--watching { background: #ede9fe; color: #6d28d9; }

.fn-read-time {
  font-size: 0.75rem;
  color: #888;
}

.fn-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.fn-card-excerpt {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
}

.fn-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0BB4C0;
  margin-top: 0.25rem;
}

/* ---- Breadcrumb ---- */
.fn-breadcrumb {
  padding: 1rem clamp(1.5rem, 5vw, 6rem);
  font-size: 0.78rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.fn-breadcrumb a {
  color: #555;
  text-decoration: none;
}

.fn-breadcrumb a:hover { color: #111; }

/* ---- Article page ---- */
.fn-article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 4rem;
}

.fn-article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.fn-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.fn-date {
  font-size: 0.75rem;
  color: #888;
}

.fn-article-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ---- Article body typography ---- */
.fn-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222;
}

.fn-article-body p {
  margin-bottom: 1.4rem;
}

.fn-article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.9rem;
  color: #111;
}

.fn-article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: #111;
}

.fn-article-body a {
  color: #0BB4C0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fn-article-body a:hover { color: #088a95; }

.fn-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
  font-weight: 400;
  margin-bottom: 2rem !important;
}

/* ---- Affiliate disclosure ---- */
.fn-disclosure {
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
  border-left: 3px solid #ddd;
  padding: 0.5rem 0.9rem;
  margin: 0 0 1.5rem !important;
  background: #fafafa;
}

/* ---- Buy / affiliate link ---- */
.fn-buy {
  display: inline-block;
  margin: 0.5rem 0 1.5rem;
  padding: 0.55rem 1rem;
  background: #0BB4C0;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
}

.fn-buy:hover { background: #088a95; }

/* ---- Tip box ---- */
.fn-tip {
  background: #e8f7f8;
  border-left: 3px solid #0BB4C0;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.fn-tip-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0BB4C0;
  margin-bottom: 0.35rem;
}

.fn-tip p {
  margin-bottom: 0 !important;
  font-size: 0.95rem;
}

/* ---- Data table ---- */
.fn-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
}

.fn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

.fn-table th {
  background: #111;
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.fn-table th:first-child { text-align: left; }

.fn-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: right;
  color: #333;
}

.fn-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #111;
}

.fn-table tbody tr:last-child td { border-bottom: none; }

.fn-tr-good td { background: rgba(34, 197, 94, 0.06); }
.fn-tr-good td:first-child { color: #166534; }

.fn-tr-best td { background: rgba(34, 197, 94, 0.15); }
.fn-tr-best td:first-child { color: #166534; font-weight: 700; }

.fn-table-caption {
  font-size: 0.78rem !important;
  color: #888 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 2rem !important;
  font-style: italic;
}

/* ---- Insight cards ---- */
.fn-insights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.fn-insight {
  border-radius: 8px;
  padding: 1.25rem;
  border-left: 3px solid transparent;
}

.fn-insight h3 {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.5rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fn-insight p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0 !important;
}

.fn-insight-green {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
}
.fn-insight-green h3 { color: #166534; }

.fn-insight-amber {
  background: rgba(251, 191, 36, 0.12);
  border-color: #f59e0b;
}
.fn-insight-amber h3 { color: #92400e; }

.fn-insight-red {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}
.fn-insight-red h3 { color: #991b1b; }

/* ---- Book cards ---- */
.fn-book {
  display: flex;
  gap: 0;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  background: #fff;
}

.fn-book-cover {
  width: 130px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
  display: block;
}

.fn-book-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.fn-book-body h2 {
  font-size: 1.05rem !important;
  margin: 0 0 0.3rem !important;
}

.fn-book-author {
  font-size: 0.82rem;
  color: #888;
  font-style: italic;
  margin-bottom: 0.9rem !important;
}

/* ---- Video cards ---- */
.fn-video {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  background: #fff;
}

.fn-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.fn-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fn-video-body {
  padding: 1.25rem 1.5rem;
}

.fn-video-body h2 {
  font-size: 1.05rem !important;
  margin: 0 0 0.3rem !important;
}

.fn-video-climber {
  font-size: 0.82rem;
  color: #888;
  font-style: italic;
  margin-bottom: 0.9rem !important;
}

/* ---- Article footer ---- */
.fn-article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.fn-sig {
  font-size: 0.88rem;
  color: #888;
  font-style: italic;
  margin: 0 !important;
}

.fn-conditions-cta {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s;
}

.fn-conditions-cta:hover { background: #333; }

/* ---- Related articles ---- */
.fn-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.fn-related-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: #555;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.fn-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.fn-related-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.15s, box-shadow 0.15s;
}

.fn-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}

.fn-related-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
}

.fn-related-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0BB4C0;
}

/* ---- Footer ---- */
.fn-footer {
  padding: 2rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.fn-footer-link {
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.fn-footer-link:hover { color: #111; }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .fn-nav-section { display: none; }
  .fn-book { flex-direction: column; }
  .fn-book-cover { width: 100%; height: 200px; object-position: center; }
  .fn-article-footer { flex-direction: column; align-items: flex-start; }
  .fn-insights { grid-template-columns: 1fr; }
}
