/* The Bear Group Ltd — shared styles
   Corporate surface. Navy + white + one dark neutral. No third-party CDN. */

/* --- Self-hosted DM Sans (variable, latin subset) -------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/DMSans.woff2') format('woff2-variations');
}

:root {
  --navy: #01357F;           /* brand navy, from the logo */
  --navy-ink: #002253;       /* deeper navy for large fills */
  --bg: #ffffff;
  --paper: #f3f4f6;          /* light band */
  --ink: #14161a;            /* dark neutral, body text */
  --muted: #6a6e78;          /* secondary text on light */
  --on-navy: rgba(255,255,255,0.72);  /* secondary text on navy */
  --line: #e4e5e7;
  --line-navy: rgba(255,255,255,0.16);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

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

/* --- Eyebrows / display type ---------------------------------------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.on-navy { color: var(--on-navy); }
.eyebrow.rule {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.eyebrow.rule::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.display {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-transform: uppercase;
  font-size: clamp(44px, 8.2vw, 104px);
}

/* --- Top bar (logo only; no nav) ------------------------------------ */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
.topbar-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Hero (navy full-bleed) ----------------------------------------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 96px 0 88px;
}
.hero .eyebrow.rule { color: var(--on-navy); margin-bottom: 40px; }
.hero .display { color: #fff; margin-bottom: 48px; }
.hero .display .ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.30);
  text-stroke: 1.5px rgba(255,255,255,0.30);
}
.hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 780px;
  padding-top: 32px;
  border-top: 1px solid var(--line-navy);
}
.hero-cols p { font-size: 16px; line-height: 1.6; color: var(--on-navy); }
.hero-cols p strong { color: #fff; font-weight: 600; }

/* --- Generic band --------------------------------------------------- */
.band { padding: 88px 0; }
.band.paper { background: var(--paper); }
.band.white { background: var(--bg); }
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

/* --- Practices list ------------------------------------------------- */
.prow {
  display: grid;
  grid-template-columns: 56px 260px 1fr 44px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.16s ease;
}
.prow:last-child { border-bottom: 1px solid var(--line); }
.prow-num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.prow-name { display: block; font-size: 19px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.prow-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.prow-desc { font-size: 15px; line-height: 1.55; color: var(--ink); }
.prow-domain {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 9px;
}
.prow-arrow {
  justify-self: end;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  display: grid; place-items: center;
  font-size: 16px; color: var(--navy);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.prow:hover .prow-arrow { background: var(--navy); color: #fff; transform: translate(2px,-2px); }
.prow:hover .prow-name { text-decoration: underline; text-underline-offset: 3px; }

/* --- Founders ------------------------------------------------------- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}
.founder-photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-name { font-size: 18px; font-weight: 600; color: var(--navy); }
.founder-role { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }
.founder-bio { font-size: 14px; line-height: 1.65; color: var(--ink); margin-bottom: 14px; }

/* --- Outbound link (arrow) ------------------------------------------ */
.outlink {
  font-size: 14px; color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.16s ease;
}
.outlink:hover, .outlink:focus-visible { opacity: 0.62; outline: none; }
.outlink .arrow { display: inline-block; transition: transform 0.16s ease; }
.outlink:hover .arrow { transform: translate(2px,-2px); }

/* --- Method band ---------------------------------------------------- */
.method-band { padding: 72px 0; border-top: 1px solid var(--line); }
.method { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.method a { color: var(--navy); }

/* --- Closing / footer (navy) ---------------------------------------- */
.closing { background: var(--navy); color: #fff; padding: 88px 0 40px; }
.closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.closing .eyebrow.rule { color: var(--on-navy); margin-bottom: 28px; }
.closing .display { color: #fff; font-size: clamp(38px, 5.4vw, 68px); margin-bottom: 24px; }
.closing-copy { font-size: 15px; line-height: 1.65; color: var(--on-navy); max-width: 420px; margin-bottom: 20px; }
.closing-copy a, .closing-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.closing-links { font-size: 14px; color: var(--on-navy); }

.linklist { display: flex; flex-direction: column; }
.linklist a {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; text-decoration: none; color: #fff;
  border-top: 1px solid var(--line-navy);
}
.linklist a:first-child { border-top: none; }
.linklist .ll-name { font-size: 16px; font-weight: 600; }
.linklist .ll-domain { font-size: 12px; color: var(--on-navy); margin-left: auto; }
.linklist .ll-arrow { font-size: 15px; color: var(--on-navy); transition: transform 0.16s ease; }
.linklist a:hover .ll-arrow { transform: translate(2px,-2px); color: #fff; }
.linklist a:hover .ll-name { text-decoration: underline; text-underline-offset: 3px; }
.linklist .mailrow { border-top: 1px solid var(--line-navy); color: var(--on-navy); font-size: 14px; }
.linklist .mailrow:hover { color: #fff; }

.closing-divider { border: none; height: 1px; background: var(--line-navy); margin: 56px 0 24px; }
.closing-legal {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--on-navy); line-height: 1.7;
}
.closing-legal .legal-name { font-weight: 600; color: #fff; }
.trademark { margin-top: 16px; font-size: 11px; color: var(--on-navy); }

/* --- Compact navy footer (sub-pages) -------------------------------- */
.sitefoot { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.sitefoot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sitefoot .legal-name { font-weight: 600; color: #fff; }
.sitefoot .foot-block { font-size: 12px; color: var(--on-navy); line-height: 1.7; }
.sitefoot .foot-nav a { color: var(--on-navy); text-decoration: none; }
.sitefoot .foot-nav a:hover { color: #fff; }

/* --- Sub-page content (press, legal, 404) --------------------------- */
.page { padding: 72px 0 88px; }
.back-link { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 36px; }
.back-link:hover { color: var(--navy); }
.page-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-meta { font-size: 14px; color: var(--muted); margin-bottom: 40px; max-width: 640px; }
.page-meta a { color: var(--navy); }

.prose { max-width: 720px; }
.prose p { margin-bottom: 18px; font-size: 15px; line-height: 1.7; }
.prose h2 { font-size: 20px; color: var(--navy); margin: 44px 0 14px; font-weight: 600; }
.prose h3 { font-size: 15px; color: var(--navy); margin: 28px 0 10px; font-weight: 600; }
.prose ul { margin: 0 0 18px 20px; }
.prose li { font-size: 15px; line-height: 1.7; margin-bottom: 6px; }
.prose a { color: var(--navy); }
.dateline { font-weight: 600; color: var(--navy); }
.todo { background: #fff4d6; border: 1px dashed #d9b34a; color: #7a5b12; padding: 2px 6px; border-radius: 3px; font-size: 0.92em; }

/* --- Press index ---------------------------------------------------- */
.release-item { display: block; text-decoration: none; padding: 22px 0; border-top: 1px solid var(--line); max-width: 720px; }
.release-item:last-of-type { border-bottom: 1px solid var(--line); }
.release-item .r-date { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 6px; }
.release-item .r-title { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.release-item:hover .r-title { text-decoration: underline; text-underline-offset: 3px; }

/* --- 404 ------------------------------------------------------------ */
.notfound .code { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* --- Mobile --------------------------------------------------------- */
@media (max-width: 820px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 64px 0 56px; }
  .hero .display { margin-bottom: 32px; }
  .hero-cols { grid-template-columns: 1fr; gap: 20px; }
  .band { padding: 60px 0; }
  .prow { grid-template-columns: 36px 1fr; gap: 8px 16px; }
  .prow-desc { grid-column: 2; }
  .prow-arrow { grid-row: 1; grid-column: 2; justify-self: end; }
  .prow-id { grid-column: 2; }
  .founders-grid { grid-template-columns: 1fr; gap: 40px; }
  .closing-grid { grid-template-columns: 1fr; gap: 40px; }
  .closing { padding: 60px 0 36px; }
}
