/* Cherry Locke Talent — corporate site CSS
   Aesthetic: Series-A startup. Cream + sage + black. Tasteful, polished.
   The polish itself is the lie. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #faf6ef;
  --cream-deep: #f3ece0;
  --sage: #8aa089;
  --sage-deep: #5d7459;
  --sage-pale: #dfe6dc;
  --ink: #161613;
  --ink-soft: #3d3d38;
  --ink-mute: #76766f;
  --line: #e2dccf;
  --accent: #b9442e; /* cherry red — used sparingly */
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: 3.6rem; font-weight: 500; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--sage-deep); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
a { color: var(--sage-deep); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 120ms ease; }
a:hover { border-bottom-color: var(--sage-deep); }

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

/* ---------- HEADER ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  background-color: rgba(250, 246, 239, 0.92);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: none;
}
.brand .mark {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-3px);
}
nav.primary { display: flex; gap: 28px; align-items: center; }
nav.primary a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  border: none;
}
nav.primary a:hover { color: var(--ink); }
.cta-pill {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  border: none !important;
  transition: background 120ms ease;
}
.cta-pill:hover { background: var(--sage-deep); }

/* ---------- HERO ---------- */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 14ch; margin-bottom: 0.4em; }
.hero .sub {
  font-size: 1.25rem;
  max-width: 52ch;
  color: var(--ink-soft);
  margin-bottom: 2em;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-img img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(22, 22, 19, 0.25);
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-img img { max-height: 320px; }
}
.hero-buttons { display: flex; gap: 14px; }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream) !important;
  cursor: pointer;
  transition: all 140ms ease;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn.ghost { background: transparent; color: var(--ink) !important; }
.btn.ghost:hover { background: var(--ink); color: var(--cream) !important; }

/* ---------- SECTIONS ---------- */
section { padding: 90px 0; border-bottom: 1px solid var(--line); }
section.tight { padding: 60px 0; }
section.sage { background: var(--sage-pale); }
section.deep { background: var(--ink); color: var(--cream); }
section.deep h1, section.deep h2, section.deep h3 { color: var(--cream); }
section.deep p { color: rgba(250, 246, 239, 0.78); }
section.deep h4 { color: var(--sage); }

.eyebrow { font-family: 'Inter'; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 18px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { font-size: 1.1rem; }

/* ---------- GRIDS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

@media (max-width: 920px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }
  .hero { padding: 70px 0 60px; }
  nav.primary { gap: 16px; }
  nav.primary a:not(.cta-pill) { display: none; }
}

/* ---------- CARDS ---------- */
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.card.flat { background: transparent; border: none; padding: 0; }
.card .quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 24px;
}
.card .who { font-size: 0.9rem; color: var(--ink-mute); }
.card .who b { color: var(--ink); font-weight: 600; }

/* ---------- TALENT GRID ---------- */
.talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 920px) { .talent-grid { grid-template-columns: repeat(2, 1fr); } }
.talent-card {
  background: var(--cream-deep);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 160ms ease;
}
.talent-card:hover { transform: translateY(-2px); }
.talent-card .photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--sage-pale), var(--cream-deep));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  border-bottom: 1px solid var(--line);
  /* monogram letter content is hidden via the empty-text trick below — image takes over */
  font-size: 0;
  color: transparent;
}
.talent-card .photo > * { font-size: initial; color: initial; }
.talent-card .photo .price-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(22, 22, 19, 0.86);
  color: var(--cream);
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.talent-card .meta {
  padding: 14px 16px 16px;
}
.talent-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.talent-card .status {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.talent-card .status.active::before { content: "● "; color: #4a8a4a; }
.talent-card .status.break::before { content: "○ "; color: var(--ink-mute); }
.talent-card .status.alum::before { content: "✦ "; color: var(--sage-deep); }

/* ---------- TEAM ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 920px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { text-align: center; }
.team-card .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--sage-pale), var(--cream-deep));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--sage-deep);
  font-style: italic;
  margin-bottom: 18px;
}
.team-card .role-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.team-card .role-title { font-size: 0.85rem; color: var(--ink-mute); }

/* ---------- PRESS ---------- */
.press-row { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); gap: 24px; flex-wrap: wrap; }
.press-row:last-child { border-bottom: none; }
.press-row .outlet { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; flex: 0 0 220px; }
.press-row .headline { flex: 1; color: var(--ink-soft); }
.press-row .date { font-size: 0.85rem; color: var(--ink-mute); flex: 0 0 110px; text-align: right; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 920px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .n { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 500; line-height: 1; color: var(--accent); }
.stat .lbl { font-size: 0.85rem; color: var(--ink-mute); margin-top: 8px; letter-spacing: 0.04em; }

/* ---------- SEARCH BOX (talent) ---------- */
.search-wrap {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 36px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-wrap label { font-size: 0.88rem; font-weight: 500; color: var(--ink); flex-shrink: 0; }
.search-wrap input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 11px 14px;
  border-radius: 4px;
  font-family: 'Inter';
  font-size: 0.95rem;
  color: var(--ink);
}
.search-wrap input:focus { outline: none; border-color: var(--sage-deep); }
.search-wrap button {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 11px 22px;
  border-radius: 4px;
  font-family: 'Inter';
  font-weight: 500;
  cursor: pointer;
}
.search-wrap button:hover { background: var(--sage-deep); }
.search-result {
  margin: -20px 0 28px;
  padding: 14px 18px;
  background: #fff8e8;
  border-left: 3px solid #b58c1a;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: none;
}
.search-result.ok { background: var(--sage-pale); border-left-color: var(--sage-deep); }

/* ---------- SERVICES ---------- */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 920px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list .svc { padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc h3 { margin-bottom: 12px; }
.svc .num { font-family: 'Cormorant Garamond', serif; color: var(--sage); font-size: 1.1rem; }

/* ---------- CONTRACT / LEGAL ---------- */
.legal-doc {
  background: var(--cream);
  padding: 60px;
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.94rem;
  line-height: 1.75;
}
.legal-doc h2 { font-family: 'Inter'; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-top: 40px; }
.legal-doc h3 { font-family: 'Inter'; font-size: 0.95rem; font-weight: 700; margin-top: 24px; margin-bottom: 8px; }
.legal-doc p { font-size: 0.92rem; }
.legal-doc .clause { color: var(--ink-soft); }
.legal-doc .highlight { background: #ffe8e1; border-left: 3px solid var(--accent); padding: 4px 8px; }
.legal-doc .ref { font-size: 0.78rem; color: var(--ink-mute); font-style: italic; }

/* ---------- FORMS ---------- */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: 'Inter'; font-size: 0.95rem; background: var(--cream);
}
.form-row textarea { min-height: 140px; resize: vertical; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(250, 246, 239, 0.7); padding: 70px 0 32px; }
.site-footer .grid-4 { gap: 36px; }
.site-footer h5 { font-family: 'Inter'; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.site-footer a { color: rgba(250, 246, 239, 0.7); border: none; font-size: 0.92rem; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--cream); }
.site-footer .legal { border-top: 1px solid rgba(250, 246, 239, 0.12); margin-top: 50px; padding-top: 24px; font-size: 0.8rem; color: rgba(250, 246, 239, 0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer .brand { color: var(--cream); }

/* ---------- HIDDEN PAGE WARNING ---------- */
.internal-banner {
  background: #2a1f1a;
  color: #ffd4a3;
  padding: 14px 0;
  font-family: 'Inter';
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 2px solid #b9442e;
}
.internal-banner b { color: var(--accent); }

.slack {
  background: #1a1d21;
  color: #d1d2d3;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
.slack .msg { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #2c2f33; }
.slack .msg:last-child { border-bottom: none; }
.slack .who { color: #e9ad34; font-weight: 700; margin-right: 8px; }
.slack .time { color: #6a6e74; font-size: 0.72rem; }
.slack .body { color: #d1d2d3; margin-top: 4px; }
.slack .body em { color: #ff7b72; font-style: normal; }

.email {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 760px;
  margin: 0 auto 28px;
  font-family: 'Inter';
}
.email .head { background: var(--cream-deep); padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.email .head .from { font-weight: 600; }
.email .head .meta { color: var(--ink-mute); font-size: 0.82rem; margin-top: 4px; }
.email .body { padding: 24px 28px; font-size: 0.95rem; }
.email .body p { margin-bottom: 1em; }
.email .reply { border-top: 2px dashed var(--line); margin-top: 0; }

.admin {
  background: #0e1419;
  color: #c9d1d9;
  font-family: 'SF Mono', Monaco, monospace;
  padding: 32px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.admin .hdr { color: #79c0ff; border-bottom: 1px solid #21262d; padding-bottom: 12px; margin-bottom: 16px; }
.admin table { width: 100%; border-collapse: collapse; }
.admin th { text-align: left; color: #8b949e; font-weight: 400; padding: 8px 12px; border-bottom: 1px solid #21262d; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin td { padding: 10px 12px; border-bottom: 1px solid #161b22; }
.admin td.split { color: #ff7b72; font-weight: 700; }
.admin td.cre { color: #7ee787; }
.admin .row-flag { background: rgba(248, 81, 73, 0.12); }
.admin .row-flag td { color: #ffa198; }

.diagram {
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 36px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.85rem;
  line-height: 1.9;
  white-space: pre;
  overflow-x: auto;
  border-radius: 4px;
}

.tombstone {
  background: linear-gradient(180deg, #f3ece0 0%, #d6c9b0 100%);
  border: 1px solid var(--ink);
  padding: 50px 40px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 40px;
  border-radius: 4px;
}
.tombstone h2 { font-family: 'Cormorant Garamond'; font-size: 2.2rem; font-style: italic; margin-bottom: 8px; }
.tombstone .dates { color: var(--ink-mute); margin-bottom: 18px; }
.tombstone .epitaph { font-style: italic; color: var(--ink-soft); font-family: 'Cormorant Garamond'; font-size: 1.15rem; }

/* utility */
.tiny { font-size: 0.78rem; color: var(--ink-mute); }
.mute { color: var(--ink-mute); }
.fine { font-size: 0.72rem; color: var(--ink-mute); line-height: 1.5; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); margin: 60px 0; }
.tag { display: inline-block; padding: 3px 10px; background: var(--sage-pale); color: var(--sage-deep); font-size: 0.72rem; border-radius: 999px; letter-spacing: 0.04em; }
.tag.red { background: #ffe8e1; color: var(--accent); }
