/* Shared styles for the CHEF hub and audience pages. Same palette and fonts as the live index.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --teal: #1a7f8c; --teal-dark: #145b66; --teal-deeper: #0d3b45; --teal-deepest: #081e23;
    --teal-light: #e1f5ee; --teal-mid: #9fe1cb;
    --sand: #f7f4ef; --sand-dark: #ede8df;
    --dark: #1a1e1f; --text: #2d3233; --muted: #5f6b6d;
    --border: rgba(26,127,140,0.15); --white: #fff;
    --ga: #1e8449; --gb: #52be80; --gc: #d4a20b; --gd: #e67e22; --ge: #c0392b;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.serif, h1, h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.label::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.label.light { color: var(--teal-mid); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.18; color: var(--dark); margin-bottom: 16px; }
h2 em, h1 em { font-style: italic; color: var(--teal); }
.lede { font-size: 17px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin: 0 auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-size: 15px; font-weight: 500; line-height: 1; border: 1.5px solid transparent; transition: background .2s; cursor: pointer; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal-light); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-white { background: #fff; color: var(--teal-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.small { font-size: 13px; color: var(--muted); }

.grade { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.g-a { background: var(--ga); } .g-b { background: var(--gb); } .g-c { background: var(--gc); } .g-d { background: var(--gd); } .g-e { background: var(--ge); }

.shot { border-radius: 12px; border: 1px solid var(--sand-dark); box-shadow: 0 16px 48px rgba(13,59,69,.14); background: #fff; overflow: hidden; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--teal-deeper); }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; font-size: 10px; letter-spacing: .04em; font-weight: 400; color: var(--muted); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); align-items: center; }
.nav-links a:hover { color: var(--teal); }
.nav-links .btn { padding: 10px 18px; font-size: 14px; color: #fff; }
.nav-links a[aria-current="page"] { color: var(--teal-dark); font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal); }
.nav-cta { padding: 10px 18px; font-size: 14px; flex-shrink: 0; }

/* TLC company logo in the top bar (as on the live index) */
.brand-tlc { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-tlc img { height: 36px; width: auto; }
.brand-tlc span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); line-height: 1.3; }

/* CHEF brand line at the top of each hero (as on the live index) */
.hero-brand { display: flex; width: fit-content; align-items: center; gap: 14px; margin-bottom: 22px; }
a.hero-brand:hover .hero-brand-name { text-decoration: underline; text-underline-offset: 4px; }
.hero-brand img { width: 56px; height: auto; flex-shrink: 0; }
.hero-brand-name { font-size: 26px; font-weight: 600; letter-spacing: 2px; color: #fff; line-height: 1.1; }
.hero-brand-sub { font-size: 14px; color: var(--teal-mid); }
.hero-brand.on-light .hero-brand-name { color: var(--teal-deeper); }
.hero-brand.on-light .hero-brand-sub { color: var(--teal-dark); }

/* Breadcrumb */
.crumbs { background: var(--sand); border-bottom: 1px solid var(--sand-dark); font-size: 13px; color: var(--muted); }
.crumbs .container { padding-top: 9px; padding-bottom: 9px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--teal); }
.crumbs [aria-current] { color: var(--dark); font-weight: 500; }

/* Cross-links between audience pages */
.also-for { background: var(--sand); border-top: 1px solid var(--sand-dark); padding: 36px 0; }
.also-for p { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.also-for .container > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.also-for a { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; display: block; transition: border-color .2s; }
.also-for a:hover { border-color: var(--teal); }
.also-for b { display: block; color: var(--dark); font-size: 16px; }
.also-for b::after { content: ' →'; color: var(--teal); }
.also-for span { font-size: 14px; color: var(--muted); }

/* Footer site map (same on every page) */
.sitemap { background: var(--teal-deepest); color: rgba(255,255,255,.55); padding: 48px 0 0; font-size: 14px; }
.sitemap-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.sitemap h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.sitemap ul { list-style: none; display: grid; gap: 8px; }
.sitemap a:hover { color: #fff; }
.sitemap .brand { color: #fff; margin-bottom: 10px; }
.sitemap .brand small { color: rgba(255,255,255,.55); }
.sitemap footer { padding: 24px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.08); background: none; }


footer { background: var(--teal-deepest); color: rgba(255,255,255,.45); font-size: 13px; padding: 32px 0; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: #fff; }

@media (max-width: 860px) {
    section { padding: 64px 0; }
    /* Phones: section links become a scrollable row under the logo */
    .nav-inner { flex-wrap: wrap; row-gap: 6px; }
    .nav-cta { margin-left: auto; }
    .nav-links { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 18px; padding-bottom: 4px; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .sitemap-grid { grid-template-columns: 1fr 1fr; }
    .also-for .container > div { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .sitemap-grid { grid-template-columns: 1fr; } .nav-inner { column-gap: 10px; } .nav-cta { padding: 8px 12px; font-size: 13px; } .brand-tlc { gap: 8px; } .brand-tlc img { height: 30px; } .nav .brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
