/* ============================================
   TrendFr.com — stylesheet
   Upload to: /assets/style.css
   ============================================ */

:root {
  --bottle:    #1B4332;
  --bottle-dk: #12301F;
  --ink:       #14241C;
  --cream:     #FBF7F0;
  --sand:      #E8DFD0;
  --sand-dk:   #D6C9B4;
  --price:     #C1440E;
  --white:     #FFFFFF;
  --muted:     #5E6B62;

  --wrap: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Karla, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--bottle); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--bottle);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 0;
}
.logo span { color: #E7B84B; }

.main-nav { display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 6px; }
.main-nav a {
  color: rgba(251, 247, 240, 0.82);
  text-decoration: none;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--cream); border-bottom-color: #E7B84B; }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 20px;
}
.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-countries { display: flex; flex-wrap: wrap; gap: 10px; }
.country-chip {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.country-chip:hover { border-color: var(--bottle); }

/* The menu board — the one bold element */
.board {
  background: var(--bottle);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px 30px 24px;
  box-shadow: 0 18px 40px -22px rgba(20, 36, 28, 0.55);
}
.board h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--cream);
  border: 0;
  padding: 0;
}
.board .board-sub {
  font-size: 13px;
  color: rgba(251, 247, 240, 0.6);
  margin: 0 0 18px;
}
.board-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  text-decoration: none;
  color: var(--cream);
  border-top: 1px solid rgba(251, 247, 240, 0.14);
}
.board-row:first-of-type { border-top: 0; }
.board-row .name { font-size: 15px; }
.board-row .leader {
  flex: 1;
  border-bottom: 1px dotted rgba(251, 247, 240, 0.35);
  transform: translateY(-4px);
  min-width: 18px;
}
.board-row .amount {
  font-weight: 700;
  color: #F3A06A;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.board-row:hover .name { text-decoration: underline; }
.board-empty { font-size: 14px; color: rgba(251, 247, 240, 0.6); }

/* ---------- Sections ---------- */

main { padding-bottom: 72px; }

.section { padding-top: 12px; }

h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sand-dk);
}

h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 20px; }

/* ---------- Cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 16px;
}
.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--bottle);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
}
.card:hover { border-color: var(--sand-dk); border-left-color: var(--price); }
.card .card-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.25;
}
.card .card-meta { font-size: 13.5px; color: var(--muted); margin: 0; }

.empty-note {
  background: var(--white);
  border: 1px dashed var(--sand-dk);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  font-size: 13.5px;
  color: var(--muted);
  padding: 22px 0 0;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--bottle); text-decoration: underline; }
.crumbs .sep { padding: 0 7px; color: var(--sand-dk); }

/* ---------- Article ---------- */

.article-head { padding: 8px 0 4px; }
.article-head h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(31px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 10px 0 14px;
  max-width: 22ch;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.verified .dot { width: 7px; height: 7px; border-radius: 50%; background: #2E8B57; }

.country-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding-bottom: 4px;
}
.country-switch a {
  padding: 7px 15px;
  border: 1px solid var(--sand-dk);
  border-radius: 999px;
  background: var(--white);
  font-size: 14.5px;
  text-decoration: none;
  color: var(--muted);
}
.country-switch a:hover { border-color: var(--bottle); color: var(--bottle); }
.country-switch a.active {
  background: var(--bottle);
  border-color: var(--bottle);
  color: var(--cream);
}

.prose { max-width: 68ch; }
.prose p { margin: 0 0 16px; }

/* Price table — styled as a menu */
.price-table {
  width: 100%;
  max-width: 680px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 0 10px;
}
.price-table th {
  background: var(--bottle);
  color: var(--cream);
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 11px 18px;
}
.price-table th.col-price { text-align: right; }
.price-table td {
  padding: 13px 18px;
  border-bottom: 1px dotted var(--sand-dk);
  font-size: 16px;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.amount {
  text-align: right;
  font-weight: 700;
  color: var(--price);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.faq { max-width: 68ch; }
.faq details {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}
.faq details[open] summary { margin-bottom: 8px; }
.faq p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Static pages ---------- */

.page-body { max-width: 68ch; }
.page-body h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}
.page-body h2 { font-size: 22px; margin-top: 34px; }
.page-body ul { padding-left: 20px; }
.page-body li { margin-bottom: 7px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bottle-dk);
  color: rgba(251, 247, 240, 0.7);
  padding: 44px 0 34px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(251, 247, 240, 0.14);
}
.site-footer h3 {
  font-family: Karla, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 12px;
}
.site-footer a { color: rgba(251, 247, 240, 0.72); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer .about-text { margin: 0; max-width: 42ch; }
.footer-bottom { padding-top: 20px; font-size: 13.5px; }

/* ---------- Accessibility & motion ---------- */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--price);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-header .wrap { min-height: 0; padding-top: 10px; padding-bottom: 6px; }
  .main-nav { gap: 14px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .board { padding: 22px 20px 18px; }
  .price-table td, .price-table th { padding-left: 14px; padding-right: 14px; }
}
