/* Influencer theme (camillafinds.com). Mobile first: most visitors arrive from
   a TikTok or Instagram bio link, inside the app's own browser. Fonts are
   served from this site: one less connection before the text shows. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/influencer/fraunces-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/influencer/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/influencer/manrope-normal.woff2") format("woff2"); }

:root {
  /* A Mediterranean garden: leaf green, plumbago blue-violet, cool linen. */
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #1f2420;
  --muted: #5d655f;
  --line: #e2e4dc;
  --accent: #2f5d4e;
  --accent-dark: #244a3e;
  --accent-ink: #ffffff;
  --accent-soft: #e4eee8;
  --flower: #7d86d9;
  --gold: #e2b23c;
  --tiles: #e6edf7, #ebe8f6, #e5efe6, #f3eee6, #eef0e0, #f4e9ec;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(31, 36, 32, .05), 0 10px 28px rgba(31, 36, 32, .07);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin: 0; font-variation-settings: "SOFT" 100; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(700px, 100% - 32px); margin-inline: auto; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .02em; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--flower); }
.muted { color: var(--muted); }
.section { padding-block: 44px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 5vw, 36px); }
.section-head a { font-size: 15px; color: var(--ink); text-underline-offset: 4px; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Images: people fill their frame, products and logos fit inside theirs. */
.cover { width: 100%; height: 100%; object-fit: cover; }
.fit { width: 100%; height: 100%; object-fit: contain; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: transform .15s, background .15s, color .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 241, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 24px/1 var(--serif); letter-spacing: -.02em; text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.logo b { color: var(--accent); font-weight: 500; font-style: italic; }
.nav { display: none; gap: 30px; font: 600 15px/1 var(--sans); }
.nav a { text-decoration: none; padding-block: 6px; }
.nav a[aria-current="page"] { color: var(--accent); border-bottom: 2px solid var(--accent); }
.menu { position: relative; }
.menu summary { list-style: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 12px; font: 700 14px/1 var(--sans); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; min-width: 200px; }
.menu nav a { padding: 11px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.menu nav a:hover { background: var(--accent-soft); }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* Hero: on phones the brand list starts on the first screen */
.hero { padding-block: 28px 8px; display: grid; gap: 26px; }
.hero-intro { display: flex; align-items: center; gap: 14px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; overflow: hidden; border: 3px solid var(--surface); box-shadow: var(--shadow); background: linear-gradient(160deg, #cfd8e8, #8e9bd6 50%, #3f6b5a); display: grid; place-items: center; color: #fff; font: 600 20px/1 var(--serif); }
.hero h1 { font-size: clamp(34px, 8vw, 62px); margin-top: 14px; }
.hero .lead { font-size: 18px; color: var(--muted); margin: 14px 0 0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-photo { position: relative; display: none; }
.portrait { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; background: linear-gradient(160deg, #cfd8e8, #8e9bd6 50%, #3f6b5a); }
.hero-photo .badge { position: absolute; bottom: 22px; left: -18px; background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font: 600 13px/1.3 var(--sans); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding-block: 64px 48px; }
  .hero-photo { display: block; }
}

/* Brand finder */
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.search { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 50px; }
.search svg { flex: none; color: var(--muted); }
.search input { border: 0; background: transparent; font: 400 16px var(--sans); width: 100%; outline: none; color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font: 600 14px/1 var(--sans); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.brand-list { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 700px) { .brand-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .brand-list { grid-template-columns: 1fr 1fr 1fr; } }
.brand-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.brand-logo { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; overflow: hidden; padding: 8px; font: 800 12px/1.1 var(--sans); text-align: center; word-break: break-word; }
.brand-card h3 { font-size: 20px; }
.brand-card .meta { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; margin-top: 2px; }
.score { font: 800 13px/1 var(--sans); color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 5px 8px; }
.brand-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.brand-actions .btn { min-height: 44px; padding: 0 10px; font-size: 14px; }
.brand-actions .btn:only-child { grid-column: 1 / -1; }
.paid { font-size: 12px; color: var(--muted); margin: 14px 4px 0; }

/* Category tiles: colours cycle through --tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { border-radius: var(--radius); padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border: 1px solid rgba(31, 36, 32, .06); transition: transform .15s; background: #e6edf7; }
.tile:nth-child(6n+2) { background: #ebe8f6; }
.tile:nth-child(6n+3) { background: #e5efe6; }
.tile:nth-child(6n+4) { background: #f3eee6; }
.tile:nth-child(6n+5) { background: #eef0e0; }
.tile:nth-child(6n+6) { background: #f4e9ec; }
.tile:hover { transform: translateY(-2px); }
.tile h3 { font-size: 20px; }
.tile span { font-size: 13px; color: var(--muted); }

/* Review cards */
.cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card .thumb { aspect-ratio: 4 / 3; background: #fff; padding: 18px; border-bottom: 1px solid var(--line); }
.card .thumb .brand-logo { width: 96px; height: 96px; margin: auto; margin-top: 12%; }
.card .body { padding: 16px 18px 20px; }
.card .cat { font: 700 12px/1 var(--sans); color: var(--accent); }
.card h3 { font-size: 21px; margin-top: 8px; }
.card .meta { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Logo strip */
.logo-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.logo-strip::-webkit-scrollbar { display: none; }
.logo-strip a { flex: none; width: 150px; height: 82px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; text-decoration: none; padding: 14px 18px; font: 800 16px/1 var(--sans); }

/* About */
.about { display: grid; gap: 24px; align-items: center; }
.about h2 { font-size: clamp(28px, 5vw, 40px); margin-top: 10px; }
.about .portrait { border-radius: 24px; max-width: 420px; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 48px; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 36px 60px; font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-foot nav a { color: var(--ink); text-decoration: none; }

/* Brand and review pages */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.page-title { font-size: clamp(32px, 6.5vw, 52px); margin-top: 14px; }
.dek { font-size: 19px; color: var(--muted); margin: 12px 0 0; max-width: 40em; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.byline .avatar { width: 34px; height: 34px; border-width: 2px; font-size: 13px; }
.byline a { color: var(--ink); text-underline-offset: 3px; }
.top { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 900px) { .top { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 32px; } }
.hero-img { aspect-ratio: 1; border-radius: 22px; background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; place-items: center; }
.hero-img .brand-logo { width: 160px; height: 160px; border-radius: 28px; font-size: 22px; }
.caption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.gallery img { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .verdict { position: sticky; top: 84px; } }
.rating { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.rating .num { font: 600 34px/1 var(--serif); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.summary { margin: 14px 0 0; }
.facts { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; font-size: 15px; margin: 16px 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
.disclose { border-left: 3px solid var(--flower); padding: 4px 0 4px 14px; font-size: 13px; color: var(--muted); margin: 16px 0; }
.paid-link { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-top: 40px; }
.toc ol { margin: 10px 0 0; padding-left: 20px; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 40px; } }
.toc a { text-decoration: none; }
.prose { padding-block: 10px 30px; }
.prose h2 { font-size: clamp(26px, 5vw, 34px); margin: 40px 0 12px; scroll-margin-top: 80px; }
.prose p { margin: 0 0 16px; }
.prose .note { font-style: italic; color: var(--muted); }
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 700; }
.pros-cons { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 700px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.pros-cons ul { margin: 8px 0 0; padding-left: 18px; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 1fr 2fr 40px; gap: 12px; align-items: center; font-size: 15px; }
.bar .track { height: 8px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.bar .fill { height: 100%; width: calc(var(--v) * 10%); background: var(--accent); border-radius: 99px; }
.bar b { text-align: right; }
.inline-cta { background: var(--accent-soft); border-radius: 18px; padding: 20px; display: grid; gap: 12px; margin: 28px 0; }
.inline-cta p { margin: 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.product-list { display: grid; gap: 12px; }
.product-row { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-decoration: none; }
.product-row .pic { width: 76px; height: 76px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 6px; }
.product-row h3 { font-size: 18px; margin-top: 4px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-top: 36px; }
.author-box .avatar { width: 56px; height: 56px; }
.author-box p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.preview-bar { background: #f7e8c8; text-align: center; padding: 8px; font-size: 14px; }
.pager { margin-top: 24px; }

/* Sticky buy bar on phones */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -6px 24px rgba(31, 36, 32, .08); }
.buybar .name { font-weight: 700; line-height: 1.2; flex: 1; font-size: 15px; min-width: 0; }
.buybar .name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.buybar .btn { min-height: 44px; flex: none; }
@media (min-width: 900px) { .buybar { display: none; } }
.has-buybar { padding-bottom: 80px; }
@media (min-width: 900px) { .has-buybar { padding-bottom: 0; } }
