/* base (the artifact viewer supplied these) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* BeHold.global: Daniel Tang's "BeHold.global (Paper)" design, rebuilt as clean markup.
   Layout: centred hero, numbered sections on alternating paper bands, 1240px container. */
:root {
  --paper: #F6F3EC;
  --paper-2: #EDE8DD;
  --white: #FFFFFF;
  --ink: #17161C;
  --ink-2: #3F3C38;
  --muted: #5E5A54;
  --line: #DDD7CA;
  --line-2: #D6CFC0;
  --line-3: #BDB5A5;
  --accent: #8A6A2E;
  --gold-on-ink: #C9A35E;
  --be: #2B1F4F;
  --be-br: #807C8B;
  --be-ink: #2B1F4F;
  --if: #E82F27;
  --bf: #F5C518;
  --bf-ink: #16181B;
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-bf: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --card: #FFFFFF;
  --on-accent: #FFFFFF;
  --accent-hover: #73571F;
  --holdco-bg: #17161C;
  --holdco-fg: #F6F3EC;
  --holdco-sub: #C9C4BA;
  --holdco-text: #DCD6CB;
  --header-bg: rgba(246, 243, 236, 0.94);
  --show-light: block;
  --show-dark: none;
  color-scheme: light;
}
/* Dark theme = Daniel's "BeHold.global (Dark)" board */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0D12; --paper-2: #12151C; --card: #0F1218; --white: #0F1218;
    --ink: #EDE8DF; --ink-2: #C9C4BA; --muted: #A8A399;
    --line: #23262E; --line-2: #2C2F38; --line-3: #3A3D46;
    --accent: #D9CDB4; --on-accent: #0B0D12; --accent-hover: #E3D8C2;
    --be: #9387C9; --be-br: #A8A399; --be-ink: #EDE8DF; --bf-ink: #F3F1EC;
    --holdco-bg: #12151C; --holdco-fg: #EDE8DF; --holdco-sub: #A8A399; --holdco-text: #C9C4BA;
    --header-bg: rgba(11, 13, 18, 0.94);
    --show-light: none; --show-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B0D12; --paper-2: #12151C; --card: #0F1218; --white: #0F1218;
  --ink: #EDE8DF; --ink-2: #C9C4BA; --muted: #A8A399;
  --line: #23262E; --line-2: #2C2F38; --line-3: #3A3D46;
  --accent: #D9CDB4; --on-accent: #0B0D12; --accent-hover: #E3D8C2;
  --be: #9387C9; --be-br: #A8A399; --be-ink: #EDE8DF; --bf-ink: #F3F1EC;
  --holdco-bg: #12151C; --holdco-fg: #EDE8DF; --holdco-sub: #A8A399; --holdco-text: #C9C4BA;
  --header-bg: rgba(11, 13, 18, 0.94);
  --show-light: none; --show-dark: block;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--be); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 4px; }
.skip-link:focus { top: 1rem; color: var(--paper); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(2rem, env(safe-area-inset-left, 0px));
  padding-right: max(2rem, env(safe-area-inset-right, 0px));
}
@media (max-width: 600px) {
  .container { padding-left: max(1.25rem, env(safe-area-inset-left, 0px)); padding-right: max(1.25rem, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: 7rem; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-white { background: var(--card); border-top: 1px solid var(--line); }
.rule-top { border-top: 1px solid var(--line); }

/* type */
.eyebrow { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.3em; color: var(--accent); }
.label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.2em; }
.serif { font-family: var(--f-display); font-weight: 400; }
.italic { font-style: italic; }
.muted { color: var(--muted); }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; }
.h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; line-height: 1.2; }
.dot { color: var(--accent); }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.75rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-outline { border: 1px solid var(--line-3); color: var(--ink); font-weight: 400; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

/* header (sticks to the top) + theme toggle + mobile menu */
html { scroll-padding-top: 6rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: saturate(1.2) blur(8px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.menu-open { background: var(--paper); border-bottom-color: var(--line); }
.site-header .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.25rem; transition: padding .2s ease; }
.site-header.is-scrolled .nav { padding-block: 0.75rem; }
.site-header .wordmark { margin-right: auto; }
.nav-tools { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: none; border: 1px solid var(--line-3); border-radius: 999px; color: var(--ink); cursor: pointer; }
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header .nav { transition: none; } }
.wordmark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-height: 44px; }
.wordmark svg { width: 34px; height: 34px; flex: none; }
.wordmark span { font-family: var(--f-display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; font-size: 0.95rem; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: none; border: 1px solid var(--line-3); border-radius: 999px; color: var(--ink); cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--line); max-height: calc(100vh - 5rem); overflow-y: auto; }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 56px; width: 100%; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.6rem; }
}

/* hero */
.hero { padding-top: 4rem; text-align: center; }
.hero .eyebrow { margin-bottom: 1.5rem; text-wrap: balance; }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.5rem, 14vw, 12rem); line-height: 0.9; letter-spacing: -0.02em; }
/* one line wherever it fits; on narrow screens two even lines, never a lone word */
.hero .tagline { margin: 2rem auto 0; max-width: none; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.7vw, 2.1rem); line-height: 1.3; text-wrap: balance; }
.hero .intro { margin: 1.25rem auto 0; max-width: 44rem; color: var(--muted); text-wrap: balance; }
.hero .btn-row { margin-top: 2.5rem; }
.horizon { display: block; width: 100%; max-width: 1200px; height: auto; margin: 3.5rem auto 0; }

/* 01 the word */
.word-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 4rem; align-items: start; }
.word-grid .eyebrow { margin-bottom: 1.5rem; }
.headword { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.25rem, 7vw, 5.5rem); line-height: 1; }
.ipa { margin-top: 0.75rem; font-family: var(--f-mono); font-size: 0.95rem; color: var(--muted); }
.definition { margin-top: 2.25rem; font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.35; }
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.contrast > div, .contrast > .wide { background: var(--paper); padding: 2rem; }
.contrast > .is-behold { background: var(--paper-2); }
.contrast > .wide { grid-column: 1 / -1; color: var(--ink-2); }
.contrast .label { letter-spacing: 0.25em; color: var(--muted); }
.contrast .is-behold .label { color: var(--accent); }
.contrast ul { list-style: none; margin: 1.5rem 0 0; padding: 0; font-family: var(--f-display); font-size: 1.75rem; line-height: 1.35; }
.contrast .is-glance ul { color: var(--muted); }

/* 02 the name */
.name-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 3rem 4rem; align-items: end; }
.be-hold { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 10vw, 8.5rem); line-height: 0.9; }
.name-points { display: flex; flex-direction: column; gap: 2rem; }
.name-points p { margin-top: 0.5rem; color: var(--ink-2); }

/* section heads */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 3.5rem; }
.section-head .eyebrow { margin-bottom: 1.5rem; }
.section-head .h2 { max-width: 46rem; }
.section-head > p { max-width: 26rem; color: var(--muted); }

/* 03 the companies */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.company { --c: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-top: 3px solid var(--c); border-radius: 6px; padding: 2.25rem; display: flex; flex-direction: column; gap: 1rem; min-height: 24rem; }
.is-be { --c: var(--be); }
.is-if { --c: var(--if); }
.is-bf { --c: var(--bf); }
.company-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.numeral { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; color: var(--c); }
.company .label { margin-top: 1rem; letter-spacing: 0.15em; color: var(--muted); }
.company .motto { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; }
.company .about { color: var(--ink-2); flex-grow: 1; }
.company .visit { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; text-decoration: none; font-weight: 500; }
.company .visit span { color: var(--c); }
.logo-be { display: block; height: 36px; width: auto; }
.logo-if { display: block; height: 34px; width: auto; }
.logo-if.on-light { display: var(--show-light); }
.logo-if.on-dark { display: var(--show-dark); }
.logo-bf { display: flex; align-items: center; gap: 0.6rem; }
.logo-bf svg { width: 34px; height: 34px; flex: none; }
.logo-bf span { font-family: var(--f-bf); font-size: 1.85rem; letter-spacing: -0.045em; line-height: 1; color: var(--bf-ink); }
.logo-bf b { font-weight: 800; }
.logo-bf span span { font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 04 the structure */
.holdco { max-width: 460px; margin: 0 auto; background: var(--holdco-bg); color: var(--holdco-fg); border: 1px solid var(--line-3); border-radius: 6px; padding: 1.75rem 2rem; text-align: center; }
.holdco svg { display: block; width: 44px; height: 44px; margin: 0 auto 0.75rem; }
.holdco .name { font-family: var(--f-display); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.holdco .label { margin-top: 0.6rem; color: var(--holdco-sub); }
.holdco .what { margin-top: 0.9rem; font-size: 0.95rem; color: var(--holdco-text); }
.stem { width: 1px; height: 40px; margin: 0 auto; background: var(--line-3); }
.provides { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.75rem 2rem; }
.provides > .label { margin-bottom: 1.25rem; text-align: center; color: var(--accent); }
.provides ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1.5rem; }
.provides strong { font-weight: 600; }
.provides li p { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.org-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.org-h { display: block; }
.org-h .stem { height: 32px; }
.org-h .bar { position: relative; height: 32px; }
.org-h .bar::before { content: ""; position: absolute; top: 0; left: calc((100% - 3rem) / 6); right: calc((100% - 3rem) / 6); height: 1px; background: var(--line-3); }
.org-h .org-row { height: 32px; }
.org-h .org-row > div { width: 1px; height: 32px; margin: 0 auto; background: var(--line-3); }
.role { --c: var(--ink); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 6px; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.role .company-top { min-height: 36px; }
.role .numeral { font-size: 1.5rem; }
.role .logo-be { height: 30px; }
.role .logo-if { height: 28px; }
.role .logo-bf svg { width: 28px; height: 28px; }
.role .logo-bf span { font-size: 1.5rem; }
.role .label { margin-top: 0.5rem; letter-spacing: 0.18em; color: var(--muted); }
.role .engine { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.25; }
.role .gives { padding-top: 0.85rem; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.role .gives strong { font-weight: 600; color: var(--ink); }
.flywheel { margin-top: 3rem; border: 1px solid var(--line); border-radius: 6px; padding: 1.75rem 2rem; }
.flywheel > .label { margin-bottom: 1.25rem; color: var(--accent); }
.flywheel ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; }
.flywheel li { flex: 1 1 180px; display: flex; flex-direction: column; gap: 0.35rem; }
.flywheel li p { font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.flywheel .step { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink); }
.flywheel .sq { width: 10px; height: 10px; flex: none; }
.flywheel .arrow { flex: 0 0 auto; align-self: center; font-family: var(--f-display); font-size: 1.75rem; color: var(--line-3); }
@media (max-width: 860px) {
  .org-row { grid-template-columns: minmax(0, 1fr); }
  .org-h { display: none; }
  .org-row.roles { margin-top: 1.5rem; }
  .flywheel .arrow { display: none; }
}

/* 05 how we look at the world */
.vision .h2 { margin-bottom: 4rem; max-width: 52rem; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.1; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 3rem; }
.pillars > div { border-top: 1px solid var(--accent); padding-top: 1.5rem; }
.pillars p { margin-top: 0.75rem; color: var(--ink-2); }

/* contact */
.contact { max-width: 1000px; text-align: center; padding-block: 8rem; }
.contact .eye { display: block; width: 56px; height: 56px; margin: 0 auto 2.5rem; }
.contact .h2, .contact .say { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; }
.contact .say { margin-top: 1rem; font-family: var(--f-display); font-style: italic; color: var(--accent); }
.contact .invite { margin: 2.5rem auto 0; max-width: 32rem; color: var(--muted); }
.contact .btn { margin-top: 2rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { padding-block: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.9rem; color: var(--muted); }
.site-footer .brand { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.1rem; }
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.legend i { width: 8px; height: 8px; display: inline-block; }

@media (max-width: 600px) {
  .section { padding-block: 4.5rem; }
  .company, .role { padding: 1.75rem; min-height: 0; }
  .contrast > div, .contrast > .wide { padding: 1.5rem; }
  .contrast ul { font-size: 1.5rem; }
  .contact { padding-block: 5rem; }
}
